From 49ccf975f25c11d217e6db462986998991383291 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 14 Nov 2011 16:05:44 +0000 Subject: minor cleanup - use NULL rather then 0 for pointers - use static functions where possible - add own includes to ensure func's and their declarations don't get out of sync. --- source/blender/blenfont/intern/blf_lang.c | 2 ++ source/blender/blenfont/intern/blf_translation.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'source/blender/blenfont') diff --git a/source/blender/blenfont/intern/blf_lang.c b/source/blender/blenfont/intern/blf_lang.c index 3bce3878d72..e8c6ff76934 100644 --- a/source/blender/blenfont/intern/blf_lang.c +++ b/source/blender/blenfont/intern/blf_lang.c @@ -34,6 +34,8 @@ #include "BLF_api.h" +#include "BLF_translation.h" /* own include */ + #ifdef WITH_INTERNATIONAL #include diff --git a/source/blender/blenfont/intern/blf_translation.c b/source/blender/blenfont/intern/blf_translation.c index 8688249732f..fe14f5d4d1c 100644 --- a/source/blender/blenfont/intern/blf_translation.c +++ b/source/blender/blenfont/intern/blf_translation.c @@ -47,7 +47,7 @@ #include "DNA_userdef_types.h" /* For user settings. */ #ifdef WITH_INTERNATIONAL -const char unifont_filename[]="droidsans.ttf.gz"; +static const char unifont_filename[]="droidsans.ttf.gz"; static unsigned char *unifont_ttf= NULL; static int unifont_size= 0; -- cgit v1.2.3