~ubuntu-branches/ubuntu/gutsy/blender/gutsy-security

« back to all changes in this revision

Viewing changes to source/blender/blenlib/intern/dynlib.c

  • Committer: Bazaar Package Importer
  • Author(s): Florian Ernst
  • Date: 2005-11-06 12:40:03 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051106124003-3pgs7tcg5rox96xg
Tags: 2.37a-1.1
* Non-maintainer upload.
* Split out parts of 01_SConstruct_debian.dpatch again: root_build_dir
  really needs to get adjusted before the clean target runs - closes: #333958,
  see #288882 for reference

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**
2
 
 * $Id: dynlib.c,v 1.8 2003/12/07 19:20:10 ton Exp $
 
2
 * $Id: dynlib.c,v 1.9 2005/03/09 19:45:54 lukep Exp $
3
3
 *
4
4
 * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
5
5
 *
31
31
 *
32
32
 * ***** END GPL/BL DUAL LICENSE BLOCK *****
33
33
 */
 
34
 
34
35
#include <stdlib.h>
 
36
#include <string.h>
 
37
#include <stdio.h>
 
38
 
35
39
#include "../PIL_dynlib.h"
36
40
 
37
41
#ifdef HAVE_CONFIG_H
117
121
        void *handle;
118
122
};
119
123
 
120
 
char *osxerror(int setget, const char *str, ...)
 
124
static char *osxerror(int setget, const char *str, ...)
121
125
{
122
126
        static char errstr[ERR_STR_LEN];
123
127
        static int err_filled = 0;
154
158
        return retval;
155
159
}
156
160
 
157
 
void *osxdlopen(const char *path, int mode)
 
161
static void *osxdlopen(const char *path, int mode)
158
162
{
159
163
        void *module = 0;
160
164
        NSObjectFileImage ofi = 0;