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

Unified Diff: include/lib/font.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 | « no previous file | include/lib/gfx.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/lib/font.h
diff --git a/include/lib/font.h b/include/lib/font.h
index 288d9840df24e997b848ef7eaa22170bec826274..d6bac0b07a94b81748cb9b928194ab4943ae613c 100644
--- a/include/lib/font.h
+++ b/include/lib/font.h
@@ -24,11 +24,16 @@
#define __LIB_FONT_H
#include <lib/gfx.h>
+#include <compiler.h>
#define FONT_X 6
#define FONT_Y 12
+__BEGIN_CDECLS
+
void font_draw_char(gfx_surface *surface, unsigned char c, int x, int y, uint32_t color);
+__END_CDECLS
+
#endif
« no previous file with comments | « no previous file | include/lib/gfx.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698