From c78e44cdc563853c250da78ee78ba622c39126b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Luc=20Peuri=C3=A8re?= Date: Wed, 9 Mar 2005 19:45:59 +0000 Subject: big warning hunt commit lot of casts, added prototypes, missing includes and some true errors --- source/blender/blenlib/intern/dynlib.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'source/blender/blenlib/intern/dynlib.c') diff --git a/source/blender/blenlib/intern/dynlib.c b/source/blender/blenlib/intern/dynlib.c index d2e8f80757b..4368f5d1cee 100644 --- a/source/blender/blenlib/intern/dynlib.c +++ b/source/blender/blenlib/intern/dynlib.c @@ -31,7 +31,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + #include +#include +#include + #include "../PIL_dynlib.h" #ifdef HAVE_CONFIG_H @@ -117,7 +121,7 @@ struct PILdynlib { void *handle; }; -char *osxerror(int setget, const char *str, ...) +static char *osxerror(int setget, const char *str, ...) { static char errstr[ERR_STR_LEN]; static int err_filled = 0; @@ -154,7 +158,7 @@ char *osxerror(int setget, const char *str, ...) return retval; } -void *osxdlopen(const char *path, int mode) +static void *osxdlopen(const char *path, int mode) { void *module = 0; NSObjectFileImage ofi = 0; -- cgit v1.2.3