summaryrefslogtreecommitdiff
path: root/components/rtgui/include
diff options
context:
space:
mode:
authorKyle.Hu.GZ <[email protected]>2010-09-28 02:17:45 +0000
committerKyle.Hu.GZ <[email protected]>2010-09-28 02:17:45 +0000
commit53cc2e079cc5a6f380bbe29afafffca2024e6f96 (patch)
treedbe43c414224456d52e7269fa5ead1800f8239af /components/rtgui/include
parent7498af2fd0d87f25b96a956fdda4089629fddc67 (diff)
Fixed compile error caused by missing const declaration.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@972 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/rtgui/include')
-rw-r--r--components/rtgui/include/rtgui/font.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/rtgui/include/rtgui/font.h b/components/rtgui/include/rtgui/font.h
index a1ec7f644a..177d6a6ec6 100644
--- a/components/rtgui/include/rtgui/font.h
+++ b/components/rtgui/include/rtgui/font.h
@@ -73,7 +73,7 @@ struct rtgui_hz_file_font
/* font file name */
const char* font_fn;
};
-extern struct rtgui_font_engine rtgui_hz_file_font_engine;
+extern const struct rtgui_font_engine rtgui_hz_file_font_engine;
struct rtgui_font
{