diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-14 21:20:10 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-14 21:20:10 +0300 |
commit | ba0d167d2a56d4732e90023d51f82b20479fbe69 (patch) | |
tree | 060665c8f5a88b053c61aaaa21b2878ac241f3d9 /source/blender/blenfont | |
parent | 20553d4064e790f42fe707b8b6c5e6451e983eb7 (diff) |
more vars made static
Diffstat (limited to 'source/blender/blenfont')
-rw-r--r-- | source/blender/blenfont/intern/blf.c | 10 | ||||
-rw-r--r-- | source/blender/blenfont/intern/blf_font.c | 2 | ||||
-rw-r--r-- | source/blender/blenfont/intern/blf_glyph.c | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/blenfont/intern/blf.c b/source/blender/blenfont/intern/blf.c index 462ecebc10a..a989b1a1e9a 100644 --- a/source/blender/blenfont/intern/blf.c +++ b/source/blender/blenfont/intern/blf.c @@ -56,15 +56,15 @@ #define BLF_MAX_FONT 16 /* Font array. */ -FontBLF *global_font[BLF_MAX_FONT]; +static FontBLF *global_font[BLF_MAX_FONT]; /* Number of font. */ -int global_font_num= 0; +static int global_font_num= 0; /* Default size and dpi, for BLF_draw_default. */ -int global_font_default= -1; -int global_font_points= 11; -int global_font_dpi= 72; +static int global_font_default= -1; +static int global_font_points= 11; +static int global_font_dpi= 72; // XXX, should these be made into global_font_'s too? int blf_mono_font= -1; diff --git a/source/blender/blenfont/intern/blf_font.c b/source/blender/blenfont/intern/blf_font.c index ce68df5c8b6..da78c2427b6 100644 --- a/source/blender/blenfont/intern/blf_font.c +++ b/source/blender/blenfont/intern/blf_font.c @@ -53,7 +53,7 @@ /* freetype2 handle. */ -FT_Library global_ft_lib; +static FT_Library global_ft_lib; int blf_font_init(void) { diff --git a/source/blender/blenfont/intern/blf_glyph.c b/source/blender/blenfont/intern/blf_glyph.c index 8d13975b83a..3639f598c10 100644 --- a/source/blender/blenfont/intern/blf_glyph.c +++ b/source/blender/blenfont/intern/blf_glyph.c @@ -51,7 +51,7 @@ #include "blf_internal_types.h" #include "blf_internal.h" -FT_Library global_ft_lib; +static FT_Library global_ft_lib; GlyphCacheBLF *blf_glyph_cache_find(FontBLF *font, int size, int dpi) { |