summaryrefslogtreecommitdiff
path: root/src/psnames/psmodule.c
diff options
context:
space:
mode:
authorDavid Turner <david@freetype.org>2008-05-18 14:08:57 +0000
committerDavid Turner <david@freetype.org>2008-05-18 14:08:57 +0000
commita92cec567c816673d1abd237c34a3a01b576b976 (patch)
tree1287274c5da70460d11f50413fa9fee179c5d5e5 /src/psnames/psmodule.c
parent89d64fa6e3c9d7ab1b64e3e1c7c96533f5266510 (diff)
downloadfreetype2-a92cec567c816673d1abd237c34a3a01b576b976.tar.gz
* 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
Diffstat (limited to 'src/psnames/psmodule.c')
-rw-r--r--src/psnames/psmodule.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/psnames/psmodule.c b/src/psnames/psmodule.c
index 7f5a10365..dbcfe44b1 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 )
{