Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(485)

Unified Diff: include/compiler.h

Issue 1737903002: Move concat define to the one place that needs it. (Closed) Base URL: https://github.com/littlekernel/lk.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | include/dev/driver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/compiler.h
diff --git a/include/compiler.h b/include/compiler.h
index 3388821609a8cc103297321fe13921e9aebc37eb..62fe9914148ebd53ad6b7d7e937852f6930cda46 100644
--- a/include/compiler.h
+++ b/include/compiler.h
@@ -158,10 +158,6 @@
/* TODO: add type check */
#define countof(a) (sizeof(a) / sizeof((a)[0]))
-/* macro-expanding concat */
-#define concat(a, b) __ex_concat(a, b)
-#define __ex_concat(a, b) a ## b
-
/* CPP header guards */
#ifdef __cplusplus
#define __BEGIN_CDECLS extern "C" {
« no previous file with comments | « no previous file | include/dev/driver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698