Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Luc Peurière <jlp@nerim.net>2005-03-09 22:45:59 +0300
committerJean-Luc Peurière <jlp@nerim.net>2005-03-09 22:45:59 +0300
commitc78e44cdc563853c250da78ee78ba622c39126b2 (patch)
treefb116af7e1edd94ef96ae883bea727be372e2bd2 /source/blender/blenlib/intern/dynlib.c
parent77d44e88e95d86661fc8b29db923083ec747cf9d (diff)
big warning hunt commit
lot of casts, added prototypes, missing includes and some true errors
Diffstat (limited to 'source/blender/blenlib/intern/dynlib.c')
-rw-r--r--source/blender/blenlib/intern/dynlib.c8
1 files changed, 6 insertions, 2 deletions
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 <stdlib.h>
+#include <string.h>
+#include <stdio.h>
+
#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;