reorganize headers so that compilers stop whining

This commit is contained in:
Brian Matzon 2005-05-18 17:36:42 +00:00
parent b12ac2c44c
commit 39c4e989a7
3 changed files with 9 additions and 3 deletions

View file

@ -1,8 +1,10 @@
/* Handle to devil Library */
#ifdef _WIN32
#include "extil.h"
static HMODULE devILhandle;
#endif
#ifdef _X11
#include "extil.h"
static void* devILhandle;
#endif
#ifdef _MACOSX
@ -10,8 +12,8 @@ static void* devILhandle;
#include <stdlib.h>
#include <string.h>
const struct mach_header* devILhandle = NULL;
#endif
#include "extil.h"
#endif
/**
* Retrieves a function pointer from the devil library

View file

@ -1,8 +1,10 @@
/* Handle to ilu Library */
#ifdef _WIN32
#include "extilu.h"
static HMODULE devILUhandle;
#endif
#ifdef _X11
#include "extilu.h"
static void* devILUhandle;
#endif
#ifdef _MACOSX
@ -12,8 +14,8 @@ static void* devILUhandle;
// note, we use the IL handle since it's all in one lib
extern const struct mach_header* devILhandle;
static const struct mach_header* devILUhandle; // never actually used, just makes it shut up
#endif
#include "extilu.h"
#endif
/**
* Retrieves a function pointer from the ilu library

View file

@ -1,8 +1,10 @@
/* Handle to ilut Library */
#ifdef _WIN32
#include "extilut.h"
static HMODULE devILUThandle;
#endif
#ifdef _X11
#include "extilut.h"
static void* devILUThandle;
#endif
#ifdef _MACOSX
@ -12,8 +14,8 @@ static void* devILUThandle;
// note, we use the IL handle since it's all in one lib
extern const struct mach_header* devILhandle;
static const struct mach_header* devILUThandle; // never actually used, just makes it shut up
#endif
#include "extilut.h"
#endif
/**
* Retrieves a function pointer from the ilut library