* src/psnames/psmodule.c: using 'static' to make declarations non-global for ft_wgl_extra_unicodes, ft_wgl_extra_glyph_names, ft_wgl_extra_glyph_name_offsets, ps_check_wgl_name and ps_check_wgl_unicode
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
diff --git a/ChangeLog b/ChangeLog
index 33b02ff..4b4e14e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2008-05-18 David Turner <david@freetype.org>
+
+ * src/psnames/psmodule.c: using 'static' to make declarations
+ non-global for ft_wgl_extra_unicodes, ft_wgl_extra_glyph_names,
+ ft_wgl_extra_glyph_name_offsets, ps_check_wgl_name and
+ ps_check_wgl_unicode
+
+
+
2008-05-17 Sam Hocevar <samh>
* src/truetype/ttgload.c (TT_Load_Simple_Glyph): Handle zero-contour
diff --git a/src/psnames/psmodule.c b/src/psnames/psmodule.c
index 7f5a103..dbcfe44 100644
--- a/src/psnames/psmodule.c
+++ b/src/psnames/psmodule.c
@@ -184,7 +184,7 @@
#define WGL_EXTRA_LIST_SIZE 8
- const FT_UInt32 ft_wgl_extra_unicodes[WGL_EXTRA_LIST_SIZE] =
+ static const FT_UInt32 ft_wgl_extra_unicodes[WGL_EXTRA_LIST_SIZE] =
{
0x0394,
0x03A9,
@@ -196,7 +196,7 @@
0x00A0
};
- const char ft_wgl_extra_glyph_names[] =
+ static const char ft_wgl_extra_glyph_names[] =
{
'D','e','l','t','a',0,
'O','m','e','g','a',0,
@@ -208,7 +208,8 @@
's','p','a','c','e',0
};
- const FT_Int ft_wgl_extra_glyph_name_offsets[WGL_EXTRA_LIST_SIZE] =
+ static const FT_Int
+ ft_wgl_extra_glyph_name_offsets[WGL_EXTRA_LIST_SIZE] =
{
0,
6,
@@ -221,7 +222,7 @@
};
- void
+ static void
ps_check_wgl_name( const char* gname,
FT_UInt glyph,
FT_UInt* wgl_glyphs,
@@ -248,7 +249,7 @@
}
- void
+ static void
ps_check_wgl_unicode( FT_UInt32 uni_char,
FT_UInt *states )
{