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

Unified Diff: include/lib/gfx.h

Issue 1789823002: [lib] Add begin/end cdecls to gfx and font header. (Closed) Base URL: https://github.com/littlekernel/lk.git@master
Patch Set: Created 4 years, 9 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 | « include/lib/font.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/lib/gfx.h
diff --git a/include/lib/gfx.h b/include/lib/gfx.h
index ca5c3797bed2c5f315ce9d30759cc233d1f04fe2..2e36fa73a3a57395bd98dba43441e2910ae7c4d8 100644
--- a/include/lib/gfx.h
+++ b/include/lib/gfx.h
@@ -26,9 +26,12 @@
#include <stdbool.h>
#include <sys/types.h>
#include <inttypes.h>
+#include <compiler.h>
// gfx library
+__BEGIN_CDECLS
+
// different graphics formats
typedef enum {
GFX_FORMAT_NONE,
@@ -114,5 +117,7 @@ void gfx_surface_destroy(struct gfx_surface *surface);
// utility routine to fill the display with a little moire pattern
void gfx_draw_pattern(void);
+__END_CDECLS
+
#endif
« no previous file with comments | « include/lib/font.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698