summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/devil/files/devil-1.6.7-gcc42.patch')
-rw-r--r--media-libs/devil/files/devil-1.6.7-gcc42.patch1241
1 files changed, 1241 insertions, 0 deletions
diff --git a/media-libs/devil/files/devil-1.6.7-gcc42.patch b/media-libs/devil/files/devil-1.6.7-gcc42.patch
new file mode 100644
index 000000000000..ddaa98f6a52d
--- /dev/null
+++ b/media-libs/devil/files/devil-1.6.7-gcc42.patch
@@ -0,0 +1,1241 @@
+diff -Nurp DevIL-1.6.7/cpp wrapper/il_wrap.cpp DevIL-1.6.7.new/cpp wrapper/il_wrap.cpp
+--- DevIL-1.6.7/cpp wrapper/il_wrap.cpp 2004-07-12 18:50:57.000000000 +0200
++++ DevIL-1.6.7.new/cpp wrapper/il_wrap.cpp 2007-05-26 09:23:13.000000000 +0200
+@@ -374,7 +374,7 @@ ILuint ilImage::GetId() const
+ return this->Id;
+ }
+
+-ILenum ilImage::GetOrigin(ILvoid)
++ILenum ilImage::GetOrigin(void)
+ {
+ ILinfo Info;
+
+diff -Nurp DevIL-1.6.7/include/IL/devil_internal_exports.h DevIL-1.6.7.new/include/IL/devil_internal_exports.h
+--- DevIL-1.6.7/include/IL/devil_internal_exports.h 2004-07-12 18:55:08.000000000 +0200
++++ DevIL-1.6.7.new/include/IL/devil_internal_exports.h 2007-05-26 09:23:14.000000000 +0200
+@@ -74,7 +74,7 @@ ILAPI ILvoid* ILAPIENTRY ivec_align_buff
+ #endif
+
+ // Internal library functions in IL
+-ILAPI ILimage* ILAPIENTRY ilGetCurImage(ILvoid);
++ILAPI ILimage* ILAPIENTRY ilGetCurImage(void);
+ ILAPI ILvoid ILAPIENTRY ilSetCurImage(ILimage *Image);
+ ILAPI ILvoid ILAPIENTRY ilSetError(ILenum Error);
+ ILAPI ILvoid ILAPIENTRY ilSetPal(ILpal *Pal);
+@@ -95,15 +95,15 @@ ILAPI ILvoid ILAPIENTRY ilReplaceCurImag
+ //
+ // Image functions
+ //
+-ILAPI ILvoid ILAPIENTRY iBindImageTemp (ILvoid);
++ILAPI ILvoid ILAPIENTRY iBindImageTemp (void);
+ ILAPI ILboolean ILAPIENTRY ilClearImage_ (ILimage *Image);
+ ILAPI ILvoid ILAPIENTRY ilCloseImage (ILimage *Image);
+ ILAPI ILvoid ILAPIENTRY ilClosePal (ILpal *Palette);
+-ILAPI ILpal* ILAPIENTRY iCopyPal (ILvoid);
++ILAPI ILpal* ILAPIENTRY iCopyPal (void);
+ ILAPI ILboolean ILAPIENTRY ilCopyImageAttr (ILimage *Dest, ILimage *Src);
+ ILAPI ILimage* ILAPIENTRY ilCopyImage_ (ILimage *Src);
+ ILAPI ILvoid ILAPIENTRY ilGetClear (ILvoid *Colours, ILenum Format, ILenum Type);
+-ILAPI ILuint ILAPIENTRY ilGetCurName (ILvoid);
++ILAPI ILuint ILAPIENTRY ilGetCurName (void);
+ ILAPI ILboolean ILAPIENTRY ilIsValidPal (ILpal *Palette);
+ ILAPI ILimage* ILAPIENTRY ilNewImage (ILuint Width, ILuint Height, ILuint Depth, ILubyte Bpp, ILubyte Bpc);
+ ILAPI ILimage* ILAPIENTRY ilNewImageFull (ILuint Width, ILuint Height, ILuint Depth, ILubyte Bpp, ILenum Format, ILenum Type, ILvoid *Data);
+diff -Nurp DevIL-1.6.7/include/IL/il.h DevIL-1.6.7.new/include/IL/il.h
+--- DevIL-1.6.7/include/IL/il.h 2004-07-12 18:55:08.000000000 +0200
++++ DevIL-1.6.7.new/include/IL/il.h 2007-05-26 09:23:14.000000000 +0200
+@@ -494,15 +494,15 @@ ILAPI ILboolean ILAPIENTRY ilApplyProfi
+ ILAPI ILvoid ILAPIENTRY ilBindImage(ILuint Image);
+ ILAPI ILboolean ILAPIENTRY ilBlit(ILuint Source, ILint DestX, ILint DestY, ILint DestZ, ILuint SrcX, ILuint SrcY, ILuint SrcZ, ILuint Width, ILuint Height, ILuint Depth);
+ ILAPI ILvoid ILAPIENTRY ilClearColour(ILclampf Red, ILclampf Green, ILclampf Blue, ILclampf Alpha);
+-ILAPI ILboolean ILAPIENTRY ilClearImage(ILvoid);
+-ILAPI ILuint ILAPIENTRY ilCloneCurImage(ILvoid);
++ILAPI ILboolean ILAPIENTRY ilClearImage(void);
++ILAPI ILuint ILAPIENTRY ilCloneCurImage(void);
+ ILAPI ILboolean ILAPIENTRY ilCompressFunc(ILenum Mode);
+ ILAPI ILboolean ILAPIENTRY ilConvertImage(ILenum DestFormat, ILenum DestType);
+ ILAPI ILboolean ILAPIENTRY ilConvertPal(ILenum DestFormat);
+ ILAPI ILboolean ILAPIENTRY ilCopyImage(ILuint Src);
+ ILAPI ILuint ILAPIENTRY ilCopyPixels(ILuint XOff, ILuint YOff, ILuint ZOff, ILuint Width, ILuint Height, ILuint Depth, ILenum Format, ILenum Type, ILvoid *Data);
+ ILAPI ILuint ILAPIENTRY ilCreateSubImage(ILenum Type, ILuint Num);
+-ILAPI ILboolean ILAPIENTRY ilDefaultImage(ILvoid);
++ILAPI ILboolean ILAPIENTRY ilDefaultImage(void);
+ ILAPI ILvoid ILAPIENTRY ilDeleteImages(ILsizei Num, const ILuint *Images);
+ ILAPI ILboolean ILAPIENTRY ilDisable(ILenum Mode);
+ ILAPI ILboolean ILAPIENTRY ilEnable(ILenum Mode);
+@@ -513,16 +513,16 @@ ILAPI ILvoid ILAPIENTRY ilMod
+ ILAPI ILvoid ILAPIENTRY ilSetAlpha( ILdouble AlphaValue );
+ ILAPI ILboolean ILAPIENTRY ilGetBoolean(ILenum Mode);
+ ILAPI ILvoid ILAPIENTRY ilGetBooleanv(ILenum Mode, ILboolean *Param);
+-ILAPI ILubyte* ILAPIENTRY ilGetData(ILvoid);
++ILAPI ILubyte* ILAPIENTRY ilGetData(void);
+ ILAPI ILuint ILAPIENTRY ilGetDXTCData(ILvoid *Buffer, ILuint BufferSize, ILenum DXTCFormat);
+-ILAPI ILenum ILAPIENTRY ilGetError(ILvoid);
++ILAPI ILenum ILAPIENTRY ilGetError(void);
+ ILAPI ILint ILAPIENTRY ilGetInteger(ILenum Mode);
+ ILAPI ILvoid ILAPIENTRY ilGetIntegerv(ILenum Mode, ILint *Param);
+-ILAPI ILuint ILAPIENTRY ilGetLumpPos(ILvoid);
+-ILAPI ILubyte* ILAPIENTRY ilGetPalette(ILvoid);
++ILAPI ILuint ILAPIENTRY ilGetLumpPos(void);
++ILAPI ILubyte* ILAPIENTRY ilGetPalette(void);
+ ILAPI const ILstring ILAPIENTRY ilGetString(ILenum StringName);
+ ILAPI ILvoid ILAPIENTRY ilHint(ILenum Target, ILenum Mode);
+-ILAPI ILvoid ILAPIENTRY ilInit(ILvoid);
++ILAPI ILvoid ILAPIENTRY ilInit(void);
+ ILAPI ILboolean ILAPIENTRY ilIsDisabled(ILenum Mode);
+ ILAPI ILboolean ILAPIENTRY ilIsEnabled(ILenum Mode);
+ ILAPI ILboolean ILAPIENTRY ilIsImage(ILuint Image);
+@@ -537,7 +537,7 @@ ILAPI ILboolean ILAPIENTRY ilLoadL(ILen
+ ILAPI ILboolean ILAPIENTRY ilLoadPal(const ILstring FileName);
+ ILAPI ILboolean ILAPIENTRY ilOriginFunc(ILenum Mode);
+ ILAPI ILboolean ILAPIENTRY ilOverlayImage(ILuint Source, ILint XCoord, ILint YCoord, ILint ZCoord);
+-ILAPI ILvoid ILAPIENTRY ilPopAttrib(ILvoid);
++ILAPI ILvoid ILAPIENTRY ilPopAttrib(void);
+ ILAPI ILvoid ILAPIENTRY ilPushAttrib(ILuint Bits);
+ ILAPI ILvoid ILAPIENTRY ilRegisterFormat(ILenum Format);
+ ILAPI ILboolean ILAPIENTRY ilRegisterLoad(const ILstring Ext, IL_LOADPROC Load);
+@@ -549,9 +549,9 @@ ILAPI ILboolean ILAPIENTRY ilRegisterSa
+ ILAPI ILvoid ILAPIENTRY ilRegisterType(ILenum Type);
+ ILAPI ILboolean ILAPIENTRY ilRemoveLoad(const ILstring Ext);
+ ILAPI ILboolean ILAPIENTRY ilRemoveSave(const ILstring Ext);
+-ILAPI ILvoid ILAPIENTRY ilResetMemory(ILvoid);
+-ILAPI ILvoid ILAPIENTRY ilResetRead(ILvoid);
+-ILAPI ILvoid ILAPIENTRY ilResetWrite(ILvoid);
++ILAPI ILvoid ILAPIENTRY ilResetMemory(void);
++ILAPI ILvoid ILAPIENTRY ilResetRead(void);
++ILAPI ILvoid ILAPIENTRY ilResetWrite(void);
+ ILAPI ILboolean ILAPIENTRY ilSave(ILenum Type, const ILstring FileName);
+ ILAPI ILuint ILAPIENTRY ilSaveF(ILenum Type, ILHANDLE File);
+ ILAPI ILboolean ILAPIENTRY ilSaveImage(const ILstring FileName);
+@@ -565,7 +565,7 @@ ILAPI ILvoid ILAPIENTRY ilSetPixels(ILi
+ ILAPI ILvoid ILAPIENTRY ilSetRead(fOpenRProc, fCloseRProc, fEofProc, fGetcProc, fReadProc, fSeekRProc, fTellRProc);
+ ILAPI ILvoid ILAPIENTRY ilSetString(ILenum Mode, const char *String);
+ ILAPI ILvoid ILAPIENTRY ilSetWrite(fOpenWProc, fCloseWProc, fPutcProc, fSeekWProc, fTellWProc, fWriteProc);
+-ILAPI ILvoid ILAPIENTRY ilShutDown(ILvoid);
++ILAPI ILvoid ILAPIENTRY ilShutDown(void);
+ ILAPI ILboolean ILAPIENTRY ilTexImage(ILuint Width, ILuint Height, ILuint Depth, ILubyte Bpp, ILenum Format, ILenum Type, ILvoid *Data);
+ ILAPI ILboolean ILAPIENTRY ilTypeFunc(ILenum Mode);
+
+diff -Nurp DevIL-1.6.7/include/IL/ilu.h DevIL-1.6.7.new/include/IL/ilu.h
+--- DevIL-1.6.7/include/IL/ilu.h 2004-07-12 18:55:08.000000000 +0200
++++ DevIL-1.6.7.new/include/IL/ilu.h 2007-05-26 09:23:14.000000000 +0200
+@@ -132,36 +132,36 @@ typedef struct ILpointi
+
+
+ // ImageLib Utility Functions
+-ILAPI ILboolean ILAPIENTRY iluAlienify(ILvoid);
++ILAPI ILboolean ILAPIENTRY iluAlienify(void);
+ ILAPI ILboolean ILAPIENTRY iluBlurAvg(ILuint Iter);
+ ILAPI ILboolean ILAPIENTRY iluBlurGaussian(ILuint Iter);
+-ILAPI ILboolean ILAPIENTRY iluBuildMipmaps(ILvoid);
+-ILAPI ILuint ILAPIENTRY iluColoursUsed(ILvoid);
++ILAPI ILboolean ILAPIENTRY iluBuildMipmaps(void);
++ILAPI ILuint ILAPIENTRY iluColoursUsed(void);
+ ILAPI ILboolean ILAPIENTRY iluCompareImage(ILuint Comp);
+ ILAPI ILboolean ILAPIENTRY iluContrast(ILfloat Contrast);
+ ILAPI ILboolean ILAPIENTRY iluCrop(ILuint XOff, ILuint YOff, ILuint ZOff, ILuint Width, ILuint Height, ILuint Depth);
+ ILAPI ILvoid ILAPIENTRY iluDeleteImage(ILuint Id);
+-ILAPI ILboolean ILAPIENTRY iluEdgeDetectE(ILvoid);
+-ILAPI ILboolean ILAPIENTRY iluEdgeDetectP(ILvoid);
+-ILAPI ILboolean ILAPIENTRY iluEdgeDetectS(ILvoid);
+-ILAPI ILboolean ILAPIENTRY iluEmboss(ILvoid);
++ILAPI ILboolean ILAPIENTRY iluEdgeDetectE(void);
++ILAPI ILboolean ILAPIENTRY iluEdgeDetectP(void);
++ILAPI ILboolean ILAPIENTRY iluEdgeDetectS(void);
++ILAPI ILboolean ILAPIENTRY iluEmboss(void);
+ ILAPI ILboolean ILAPIENTRY iluEnlargeCanvas(ILuint Width, ILuint Height, ILuint Depth);
+ ILAPI ILboolean ILAPIENTRY iluEnlargeImage(ILfloat XDim, ILfloat YDim, ILfloat ZDim);
+-ILAPI ILboolean ILAPIENTRY iluEqualize(ILvoid);
++ILAPI ILboolean ILAPIENTRY iluEqualize(void);
+ ILAPI const ILstring ILAPIENTRY iluErrorString(ILenum Error);
+-ILAPI ILboolean ILAPIENTRY iluFlipImage(ILvoid);
++ILAPI ILboolean ILAPIENTRY iluFlipImage(void);
+ ILAPI ILboolean ILAPIENTRY iluGammaCorrect(ILfloat Gamma);
+-ILAPI ILuint ILAPIENTRY iluGenImage(ILvoid);
++ILAPI ILuint ILAPIENTRY iluGenImage(void);
+ ILAPI ILvoid ILAPIENTRY iluGetImageInfo(ILinfo *Info);
+ ILAPI ILint ILAPIENTRY iluGetInteger(ILenum Mode);
+ ILAPI ILvoid ILAPIENTRY iluGetIntegerv(ILenum Mode, ILint *Param);
+ ILAPI const ILstring ILAPIENTRY iluGetString(ILenum StringName);
+ ILAPI ILvoid ILAPIENTRY iluImageParameter(ILenum PName, ILenum Param);
+-ILAPI ILvoid ILAPIENTRY iluInit(ILvoid);
+-ILAPI ILboolean ILAPIENTRY iluInvertAlpha(ILvoid);
++ILAPI ILvoid ILAPIENTRY iluInit(void);
++ILAPI ILboolean ILAPIENTRY iluInvertAlpha(void);
+ ILAPI ILuint ILAPIENTRY iluLoadImage(const ILstring FileName);
+-ILAPI ILboolean ILAPIENTRY iluMirror(ILvoid);
+-ILAPI ILboolean ILAPIENTRY iluNegative(ILvoid);
++ILAPI ILboolean ILAPIENTRY iluMirror(void);
++ILAPI ILboolean ILAPIENTRY iluNegative(void);
+ ILAPI ILboolean ILAPIENTRY iluNoisify(ILclampf Tolerance);
+ ILAPI ILboolean ILAPIENTRY iluPixelize(ILuint PixSize);
+ ILAPI ILvoid ILAPIENTRY iluRegionfv(ILpointf *Points, ILuint n);
+@@ -174,7 +174,7 @@ ILAPI ILboolean ILAPIENTRY iluSaturate
+ ILAPI ILboolean ILAPIENTRY iluScale(ILuint Width, ILuint Height, ILuint Depth);
+ ILAPI ILboolean ILAPIENTRY iluScaleColours(ILfloat r, ILfloat g, ILfloat b);
+ ILAPI ILboolean ILAPIENTRY iluSharpen(ILfloat Factor, ILuint Iter);
+-ILAPI ILboolean ILAPIENTRY iluSwapColours(ILvoid);
++ILAPI ILboolean ILAPIENTRY iluSwapColours(void);
+ ILAPI ILboolean ILAPIENTRY iluWave(ILfloat Angle);
+
+ #define iluColorsUsed iluColoursUsed
+diff -Nurp DevIL-1.6.7/include/IL/ilut.h DevIL-1.6.7.new/include/IL/ilut.h
+--- DevIL-1.6.7/include/IL/ilut.h 2004-07-12 18:55:08.000000000 +0200
++++ DevIL-1.6.7.new/include/IL/ilut.h 2007-05-26 09:23:14.000000000 +0200
+@@ -103,10 +103,10 @@ ILAPI ILvoid ILAPIENTRY ilutGetBooleanv
+ ILAPI ILint ILAPIENTRY ilutGetInteger(ILenum Mode);
+ ILAPI ILvoid ILAPIENTRY ilutGetIntegerv(ILenum Mode, ILint *Param);
+ ILAPI const ILstring ILAPIENTRY ilutGetString(ILenum StringName);
+-ILAPI ILvoid ILAPIENTRY ilutInit(ILvoid);
++ILAPI ILvoid ILAPIENTRY ilutInit(void);
+ ILAPI ILboolean ILAPIENTRY ilutIsDisabled(ILenum Mode);
+ ILAPI ILboolean ILAPIENTRY ilutIsEnabled(ILenum Mode);
+-ILAPI ILvoid ILAPIENTRY ilutPopAttrib(ILvoid);
++ILAPI ILvoid ILAPIENTRY ilutPopAttrib(void);
+ ILAPI ILvoid ILAPIENTRY ilutPushAttrib(ILuint Bits);
+ ILAPI ILvoid ILAPIENTRY ilutSetInteger(ILenum Mode, ILint Param);
+
+@@ -171,11 +171,11 @@ ILAPI ILboolean ILAPIENTRY ilutRenderer(
+ #endif//__APPLE__
+
+ ILAPI GLuint ILAPIENTRY ilutGLBindTexImage();
+- ILAPI GLuint ILAPIENTRY ilutGLBindMipmaps(ILvoid);
+- ILAPI ILboolean ILAPIENTRY ilutGLBuildMipmaps(ILvoid);
++ ILAPI GLuint ILAPIENTRY ilutGLBindMipmaps(void);
++ ILAPI ILboolean ILAPIENTRY ilutGLBuildMipmaps(void);
+ ILAPI GLuint ILAPIENTRY ilutGLLoadImage(const ILstring FileName);
+- ILAPI ILboolean ILAPIENTRY ilutGLScreen(ILvoid);
+- ILAPI ILboolean ILAPIENTRY ilutGLScreenie(ILvoid);
++ ILAPI ILboolean ILAPIENTRY ilutGLScreen(void);
++ ILAPI ILboolean ILAPIENTRY ilutGLScreenie(void);
+ ILAPI ILboolean ILAPIENTRY ilutGLSaveImage(const ILstring FileName, GLuint TexID);
+ ILAPI ILboolean ILAPIENTRY ilutGLSetTex(GLuint TexID);
+ ILAPI ILboolean ILAPIENTRY ilutGLTexImage(GLuint Level);
+@@ -202,7 +202,7 @@ ILAPI ILboolean ILAPIENTRY ilutRenderer(
+
+ // ImageLib Utility Toolkit's BeOS Functions
+ #ifdef ILUT_USE_BEOS
+- ILAPI BBitmap ILAPIENTRY ilutConvertToBBitmap(ILvoid);
++ ILAPI BBitmap ILAPIENTRY ilutConvertToBBitmap(void);
+ #endif//ILUT_USE_BEOS
+
+
+@@ -216,13 +216,13 @@ ILAPI ILboolean ILAPIENTRY ilutRenderer(
+ ILAPI HBITMAP ILAPIENTRY ilutConvertSliceToHBitmap(HDC hDC, ILuint slice);
+ ILAPI ILvoid ILAPIENTRY ilutFreePaddedData(ILubyte *Data);
+ ILAPI ILvoid ILAPIENTRY ilutGetBmpInfo(BITMAPINFO *Info);
+- ILAPI HPALETTE ILAPIENTRY ilutGetHPal(ILvoid);
+- ILAPI ILubyte* ILAPIENTRY ilutGetPaddedData(ILvoid);
+- ILAPI ILboolean ILAPIENTRY ilutGetWinClipboard(ILvoid);
++ ILAPI HPALETTE ILAPIENTRY ilutGetHPal(void);
++ ILAPI ILubyte* ILAPIENTRY ilutGetPaddedData(void);
++ ILAPI ILboolean ILAPIENTRY ilutGetWinClipboard(void);
+ ILAPI ILboolean ILAPIENTRY ilutLoadResource(HINSTANCE hInst, ILint ID, const ILstring ResourceType, ILenum Type);
+ ILAPI ILboolean ILAPIENTRY ilutSetHBitmap(HBITMAP Bitmap);
+ ILAPI ILboolean ILAPIENTRY ilutSetHPal(HPALETTE Pal);
+- ILAPI ILboolean ILAPIENTRY ilutSetWinClipboard(ILvoid);
++ ILAPI ILboolean ILAPIENTRY ilutSetWinClipboard(void);
+ ILAPI HBITMAP ILAPIENTRY ilutWinLoadImage(const ILstring FileName, HDC hDC);
+ ILAPI ILboolean ILAPIENTRY ilutWinLoadUrl(const ILstring Url);
+ ILAPI ILboolean ILAPIENTRY ilutWinPrint(ILuint XPos, ILuint YPos, ILuint Width, ILuint Height, HDC hDC);
+diff -Nurp DevIL-1.6.7/include/IL/il_wrap.h DevIL-1.6.7.new/include/IL/il_wrap.h
+--- DevIL-1.6.7/include/IL/il_wrap.h 2002-01-26 02:15:36.000000000 +0100
++++ DevIL-1.6.7.new/include/IL/il_wrap.h 2007-05-26 09:23:14.000000000 +0200
+@@ -29,44 +29,44 @@ public:
+ ILboolean ActiveImage(ILuint);
+ ILboolean ActiveLayer(ILuint);
+ ILboolean ActiveMipmap(ILuint);
+- ILboolean Clear(ILvoid);
++ ILboolean Clear(void);
+ ILvoid ClearColour(ILubyte, ILubyte, ILubyte, ILubyte);
+ ILboolean Convert(ILenum);
+ ILboolean Copy(ILuint);
+- ILboolean Default(ILvoid);
+- ILboolean Flip(ILvoid);
+- ILboolean SwapColours(ILvoid);
++ ILboolean Default(void);
++ ILboolean Flip(void);
++ ILboolean SwapColours(void);
+ ILboolean Resize(ILuint, ILuint, ILuint);
+ ILboolean TexImage(ILuint, ILuint, ILuint, ILubyte, ILenum, ILenum, ILvoid*);
+
+
+ // Image handling
+- ILvoid Bind(ILvoid) const;
++ ILvoid Bind(void) const;
+ ILvoid Bind(ILuint);
+- ILvoid Close(ILvoid) { this->Delete(); }
+- ILvoid Delete(ILvoid);
++ ILvoid Close(void) { this->Delete(); }
++ ILvoid Delete(void);
+ ILvoid iGenBind();
+
+
+ // Image characteristics
+- ILuint Width(ILvoid);
+- ILuint Height(ILvoid);
+- ILuint Depth(ILvoid);
+- ILubyte Bpp(ILvoid);
+- ILubyte Bitpp(ILvoid);
+- ILenum PaletteType(ILvoid);
+- ILenum Format(ILvoid);
+- ILenum Type(ILvoid);
+- ILuint NumImages(ILvoid);
+- ILuint NumMipmaps(ILvoid);
+- ILuint GetId(ILvoid) const;
+- ILenum GetOrigin(ILvoid);
+- ILubyte *GetData(ILvoid);
+- ILubyte *GetPalette(ILvoid);
++ ILuint Width(void);
++ ILuint Height(void);
++ ILuint Depth(void);
++ ILubyte Bpp(void);
++ ILubyte Bitpp(void);
++ ILenum PaletteType(void);
++ ILenum Format(void);
++ ILenum Type(void);
++ ILuint NumImages(void);
++ ILuint NumMipmaps(void);
++ ILuint GetId(void) const;
++ ILenum GetOrigin(void);
++ ILubyte *GetData(void);
++ ILubyte *GetPalette(void);
+
+
+ // Rendering
+- ILuint BindImage(ILvoid);
++ ILuint BindImage(void);
+ ILuint BindImage(ILenum);
+
+
+@@ -111,12 +111,12 @@ public:
+ class ilOgl
+ {
+ public:
+- static ILvoid Init(ILvoid);
++ static ILvoid Init(void);
+ static GLuint BindTex(ilImage &);
+ static ILboolean Upload(ilImage &, ILuint);
+ static GLuint Mipmap(ilImage &);
+- static ILboolean Screen(ILvoid);
+- static ILboolean Screenie(ILvoid);
++ static ILboolean Screen(void);
++ static ILboolean Screenie(void);
+ };
+ #endif//ILUT_USE_OPENGL
+
+@@ -125,7 +125,7 @@ public:
+ class ilAlleg
+ {
+ public:
+- static ILvoid Init(ILvoid);
++ static ILvoid Init(void);
+ static BITMAP *Convert(ilImage &);
+ };
+ #endif//ILUT_USE_ALLEGRO
+@@ -135,7 +135,7 @@ public:
+ class ilWin32
+ {
+ public:
+- static ILvoid Init(ILvoid);
++ static ILvoid Init(void);
+ static HBITMAP Convert(ilImage &);
+ static ILboolean GetClipboard(ilImage &);
+ static ILvoid GetInfo(ilImage &, BITMAPINFO *Info);
+@@ -175,7 +175,7 @@ public:
+ static ILboolean IsDisabled(ILenum);
+ static ILboolean IsEnabled(ILenum);
+ static ILboolean Origin(ILenum);
+- static ILvoid Pop(ILvoid);
++ static ILvoid Pop(void);
+ static ILvoid Push(ILuint);
+
+
+@@ -191,8 +191,8 @@ class ilError
+ public:
+ static ILvoid Check(ILvoid (*Callback)(const char*));
+ static ILvoid Check(ILvoid (*Callback)(ILenum));
+- static ILenum Get(ILvoid);
+- static const char *String(ILvoid);
++ static ILenum Get(void);
++ static const char *String(void);
+ static const char *String(ILenum);
+
+ protected:
+diff -Nurp DevIL-1.6.7/projects/msvc/gdi+/DevIL-GDI+.cpp DevIL-1.6.7.new/projects/msvc/gdi+/DevIL-GDI+.cpp
+--- DevIL-1.6.7/projects/msvc/gdi+/DevIL-GDI+.cpp 2002-02-17 02:53:57.000000000 +0100
++++ DevIL-1.6.7.new/projects/msvc/gdi+/DevIL-GDI+.cpp 2007-05-26 09:23:16.000000000 +0200
+@@ -56,9 +56,9 @@ typedef struct ILimage
+
+ ILAPI ILimage* ILAPIENTRY iConvertImage(ILenum DestFormat, ILenum DestType);
+ ILAPI ILubyte* ILAPIENTRY iGetPaddedData(ILimage *Image);
+-ILAPI ILimage* ILAPIENTRY ilGetCurImage(ILvoid);
++ILAPI ILimage* ILAPIENTRY ilGetCurImage(void);
+ ILAPI ILvoid ILAPIENTRY ilCloseImage(ILimage *Image);
+-ILAPI ILvoid ILAPIENTRY iBindImageTemp(ILvoid);
++ILAPI ILvoid ILAPIENTRY iBindImageTemp(void);
+
+
+ // @TODO: Use 48-bit and 64-bit types.
+diff -Nurp DevIL-1.6.7/projects/msvc/mfc/DevIL-MFC.cpp DevIL-1.6.7.new/projects/msvc/mfc/DevIL-MFC.cpp
+--- DevIL-1.6.7/projects/msvc/mfc/DevIL-MFC.cpp 2002-02-21 21:05:42.000000000 +0100
++++ DevIL-1.6.7.new/projects/msvc/mfc/DevIL-MFC.cpp 2007-05-26 09:23:16.000000000 +0200
+@@ -56,9 +56,9 @@ typedef struct ILimage
+
+ ILAPI ILimage* ILAPIENTRY iConvertImage(ILenum DestFormat, ILenum DestType);
+ ILAPI ILubyte* ILAPIENTRY iGetPaddedData(ILimage *Image);
+-ILAPI ILimage* ILAPIENTRY ilGetCurImage(ILvoid);
++ILAPI ILimage* ILAPIENTRY ilGetCurImage(void);
+ ILAPI ILvoid ILAPIENTRY ilCloseImage(ILimage *Image);
+-ILAPI ILvoid ILAPIENTRY iBindImageTemp(ILvoid);
++ILAPI ILvoid ILAPIENTRY iBindImageTemp(void);
+
+
+ CBitmap *ilutConvertToCBitmap()
+diff -Nurp DevIL-1.6.7/projects/msvc/mfc/DevIL-MFC.h DevIL-1.6.7.new/projects/msvc/mfc/DevIL-MFC.h
+--- DevIL-1.6.7/projects/msvc/mfc/DevIL-MFC.h 2002-03-01 18:59:58.000000000 +0100
++++ DevIL-1.6.7.new/projects/msvc/mfc/DevIL-MFC.h 2007-05-26 09:23:16.000000000 +0200
+@@ -23,9 +23,9 @@
+ struct ILimage;
+ ILAPI ILimage* ILAPIENTRY iConvertImage(ILenum DestFormat, ILenum DestType);
+ ILAPI ILubyte* ILAPIENTRY iGetPaddedData(ILimage *Image);
+-ILAPI ILimage* ILAPIENTRY ilGetCurImage(ILvoid);
++ILAPI ILimage* ILAPIENTRY ilGetCurImage(void);
+ ILAPI ILvoid ILAPIENTRY ilCloseImage(ILimage *Image);
+-ILAPI ILvoid ILAPIENTRY iBindImageTemp(ILvoid);
++ILAPI ILvoid ILAPIENTRY iBindImageTemp(void);
+
+ // Functions for the static library.
+ CBitmap *ilutConvertToCBitmap();
+diff -Nurp DevIL-1.6.7/src-IL/include/il_bmp.h DevIL-1.6.7.new/src-IL/include/il_bmp.h
+--- DevIL-1.6.7/src-IL/include/il_bmp.h 2003-09-05 16:12:47.000000000 +0200
++++ DevIL-1.6.7.new/src-IL/include/il_bmp.h 2007-05-26 09:23:17.000000000 +0200
+@@ -63,11 +63,11 @@ typedef struct OS2_HEAD
+ // Internal functions
+ ILboolean iGetBmpHead(BMPHEAD *Header);
+ ILboolean iGetOS2Head(OS2_HEAD *Header);
+-ILboolean iIsValidBmp(ILvoid);
++ILboolean iIsValidBmp(void);
+ ILboolean iCheckBmp(BMPHEAD *Header);
+ ILboolean iCheckOS2(OS2_HEAD *Header);
+-ILboolean iLoadBitmapInternal(ILvoid);
+-ILboolean iSaveBitmapInternal(ILvoid);
++ILboolean iLoadBitmapInternal(void);
++ILboolean iSaveBitmapInternal(void);
+ ILboolean ilReadUncompBmp(BMPHEAD *Info);
+ ILboolean ilReadRLE8Bmp(BMPHEAD *Info);
+ ILboolean ilReadRLE4Bmp(BMPHEAD *Info);
+diff -Nurp DevIL-1.6.7/src-IL/include/il_dcx.h DevIL-1.6.7.new/src-IL/include/il_dcx.h
+--- DevIL-1.6.7/src-IL/include/il_dcx.h 2002-06-13 08:51:36.000000000 +0200
++++ DevIL-1.6.7.new/src-IL/include/il_dcx.h 2007-05-26 09:23:17.000000000 +0200
+@@ -43,9 +43,9 @@ typedef struct DCXHEAD
+ #endif
+
+ // For checking and reading
+-ILboolean iIsValidDcx(ILvoid);
++ILboolean iIsValidDcx(void);
+ ILboolean iCheckDcx(DCXHEAD *Header);
+-ILboolean iLoadDcxInternal(ILvoid);
++ILboolean iLoadDcxInternal(void);
+ ILimage* iUncompressDcx(DCXHEAD *Header);
+ ILimage* iUncompressDcxSmall(DCXHEAD *Header);
+
+diff -Nurp DevIL-1.6.7/src-IL/include/il_dds.h DevIL-1.6.7.new/src-IL/include/il_dds.h
+--- DevIL-1.6.7/src-IL/include/il_dds.h 2004-06-24 17:43:26.000000000 +0200
++++ DevIL-1.6.7.new/src-IL/include/il_dds.h 2007-05-26 09:23:17.000000000 +0200
+@@ -163,25 +163,25 @@ extern ILuint BlockSize;
+ #define CUBEMAP_SIDES 6
+
+ // Internal functions
+-ILboolean iLoadDdsInternal(ILvoid);
+-ILboolean iIsValidDds(ILvoid);
++ILboolean iLoadDdsInternal(void);
++ILboolean iIsValidDds(void);
+ ILboolean iCheckDds(DDSHEAD *Head);
+ ILvoid AdjustVolumeTexture(DDSHEAD *Head);
+-ILboolean ReadData(ILvoid);
+-ILboolean AllocImage(ILvoid);
+-ILboolean Decompress(ILvoid);
+-ILboolean ReadMipmaps(ILvoid);
+-ILvoid DecodePixelFormat(ILvoid);
+-ILboolean DecompressARGB(ILvoid);
+-ILboolean DecompressDXT1(ILvoid);
+-ILboolean DecompressDXT2(ILvoid);
+-ILboolean DecompressDXT3(ILvoid);
+-ILboolean DecompressDXT4(ILvoid);
+-ILboolean DecompressDXT5(ILvoid);
+-ILboolean Decompress3Dc(ILvoid);
+-ILvoid CorrectPreMult(ILvoid);
++ILboolean ReadData(void);
++ILboolean AllocImage(void);
++ILboolean Decompress(void);
++ILboolean ReadMipmaps(void);
++ILvoid DecodePixelFormat(void);
++ILboolean DecompressARGB(void);
++ILboolean DecompressDXT1(void);
++ILboolean DecompressDXT2(void);
++ILboolean DecompressDXT3(void);
++ILboolean DecompressDXT4(void);
++ILboolean DecompressDXT5(void);
++ILboolean Decompress3Dc(void);
++ILvoid CorrectPreMult(void);
+ ILvoid GetBitsFromMask(ILuint Mask, ILuint *ShiftLeft, ILuint *ShiftRight);
+-ILboolean iSaveDdsInternal(ILvoid);
++ILboolean iSaveDdsInternal(void);
+ ILboolean WriteHeader(ILimage *Image, ILenum DXTCFormat);
+ ILushort *CompressTo565(ILimage *Image);
+ ILubyte *CompressTo88(ILimage *Image);
+diff -Nurp DevIL-1.6.7/src-IL/include/il_endian.h DevIL-1.6.7.new/src-IL/include/il_endian.h
+--- DevIL-1.6.7/src-IL/include/il_endian.h 2003-08-03 09:24:32.000000000 +0200
++++ DevIL-1.6.7.new/src-IL/include/il_endian.h 2007-05-26 09:23:17.000000000 +0200
+@@ -65,18 +65,18 @@ ILvoid _SwapDouble(ILdouble *d);
+ // ((f>>8) & 0xff000000) | ((f<<8) & 0xff00000000) | ((f<<24) & 0xff0000000000) | ((f<<40) & 0xff000000000000) | (f<<56))
+
+
+-ILushort GetLittleUShort(ILvoid);
+-ILshort GetLittleShort(ILvoid);
+-ILuint GetLittleUInt(ILvoid);
+-ILint GetLittleInt(ILvoid);
+-ILfloat GetLittleFloat(ILvoid);
+-ILdouble GetLittleDouble(ILvoid);
+-ILushort GetBigUShort(ILvoid);
+-ILshort GetBigShort(ILvoid);
+-ILuint GetBigUInt(ILvoid);
+-ILint GetBigInt(ILvoid);
+-ILfloat GetBigFloat(ILvoid);
+-ILdouble GetBigDouble(ILvoid);
++ILushort GetLittleUShort(void);
++ILshort GetLittleShort(void);
++ILuint GetLittleUInt(void);
++ILint GetLittleInt(void);
++ILfloat GetLittleFloat(void);
++ILdouble GetLittleDouble(void);
++ILushort GetBigUShort(void);
++ILshort GetBigShort(void);
++ILuint GetBigUInt(void);
++ILint GetBigInt(void);
++ILfloat GetBigFloat(void);
++ILdouble GetBigDouble(void);
+
+ ILubyte SaveLittleUShort(ILushort _s);
+ ILubyte SaveLittleShort(ILshort _s);
+diff -Nurp DevIL-1.6.7/src-IL/include/il_files.h DevIL-1.6.7.new/src-IL/include/il_files.h
+--- DevIL-1.6.7/src-IL/include/il_files.h 2002-06-13 08:51:36.000000000 +0200
++++ DevIL-1.6.7.new/src-IL/include/il_files.h 2007-05-26 09:23:17.000000000 +0200
+@@ -21,8 +21,8 @@
+ #include <IL/il.h>
+
+
+-__FILES_EXTERN ILvoid ILAPIENTRY iPreserveReadFuncs(ILvoid);
+-__FILES_EXTERN ILvoid ILAPIENTRY iRestoreReadFuncs(ILvoid);
++__FILES_EXTERN ILvoid ILAPIENTRY iPreserveReadFuncs(void);
++__FILES_EXTERN ILvoid ILAPIENTRY iRestoreReadFuncs(void);
+
+ __FILES_EXTERN fEofProc EofProc;
+ __FILES_EXTERN fGetcProc GetcProc;
+@@ -47,13 +47,13 @@ __FILES_EXTERN ILint ILAPIENTRY iDefaul
+
+ __FILES_EXTERN ILvoid iSetInputFile(ILHANDLE File);
+ __FILES_EXTERN ILvoid iSetInputLump(ILvoid *Lump, ILuint Size);
+-__FILES_EXTERN ILboolean (ILAPIENTRY *ieof)(ILvoid);
++__FILES_EXTERN ILboolean (ILAPIENTRY *ieof)(void);
+ __FILES_EXTERN ILHANDLE (ILAPIENTRY *iopenr)(const ILstring);
+ __FILES_EXTERN ILvoid (ILAPIENTRY *icloser)(ILHANDLE);
+-__FILES_EXTERN ILint (ILAPIENTRY *igetc)(ILvoid);
++__FILES_EXTERN ILint (ILAPIENTRY *igetc)(void);
+ __FILES_EXTERN ILuint (ILAPIENTRY *iread)(ILvoid *Buffer, ILuint Size, ILuint Number);
+ __FILES_EXTERN ILuint (ILAPIENTRY *iseek)(ILint Offset, ILuint Mode);
+-__FILES_EXTERN ILuint (ILAPIENTRY *itell)(ILvoid);
++__FILES_EXTERN ILuint (ILAPIENTRY *itell)(void);
+
+ __FILES_EXTERN ILvoid iSetOutputFile(ILHANDLE File);
+ __FILES_EXTERN ILvoid iSetOutputLump(ILvoid *Lump, ILuint Size);
+@@ -61,16 +61,16 @@ __FILES_EXTERN ILvoid (ILAPIENTRY *iclo
+ __FILES_EXTERN ILHANDLE (ILAPIENTRY *iopenw)(const ILstring);
+ __FILES_EXTERN ILint (ILAPIENTRY *iputc)(ILubyte Char);
+ __FILES_EXTERN ILuint (ILAPIENTRY *iseekw)(ILint Offset, ILuint Mode);
+-__FILES_EXTERN ILuint (ILAPIENTRY *itellw)(ILvoid);
++__FILES_EXTERN ILuint (ILAPIENTRY *itellw)(void);
+ __FILES_EXTERN ILint (ILAPIENTRY *iwrite)(const ILvoid *Buffer, ILuint Size, ILuint Number);
+
+-__FILES_EXTERN ILHANDLE ILAPIENTRY iGetFile(ILvoid);
+-__FILES_EXTERN ILubyte* ILAPIENTRY iGetLump(ILvoid);
++__FILES_EXTERN ILHANDLE ILAPIENTRY iGetFile(void);
++__FILES_EXTERN ILubyte* ILAPIENTRY iGetLump(void);
+
+ __FILES_EXTERN ILuint ILAPIENTRY ilprintf(const char *, ...);
+ __FILES_EXTERN ILvoid ipad(ILuint NumZeros);
+
+ __FILES_EXTERN ILboolean iPreCache(ILuint Size);
+-__FILES_EXTERN ILvoid iUnCache(ILvoid);
++__FILES_EXTERN ILvoid iUnCache(void);
+
+ #endif//FILES_H
+diff -Nurp DevIL-1.6.7/src-IL/include/il_gif.h DevIL-1.6.7.new/src-IL/include/il_gif.h
+--- DevIL-1.6.7/src-IL/include/il_gif.h 2004-06-13 12:09:37.000000000 +0200
++++ DevIL-1.6.7.new/src-IL/include/il_gif.h 2007-05-26 09:23:17.000000000 +0200
+@@ -57,9 +57,9 @@ typedef struct GFXCONTROL
+ #endif
+
+ // Internal functions
+-ILboolean iLoadGifInternal(ILvoid);
++ILboolean iLoadGifInternal(void);
+ ILboolean ilLoadGifF(ILHANDLE File);
+-ILboolean iIsValidGif(ILvoid);
++ILboolean iIsValidGif(void);
+ ILboolean iGetPalette(ILubyte Info, ILpal *Pal);
+ ILboolean GetImages(ILpal *GlobalPal, GIFHEAD *GifHead);
+ ILboolean SkipExtensions(GFXCONTROL *Gfx);
+diff -Nurp DevIL-1.6.7/src-IL/include/il_internal.h DevIL-1.6.7.new/src-IL/include/il_internal.h
+--- DevIL-1.6.7/src-IL/include/il_internal.h 2004-07-12 18:55:23.000000000 +0200
++++ DevIL-1.6.7.new/src-IL/include/il_internal.h 2007-05-26 09:23:17.000000000 +0200
+@@ -162,10 +162,10 @@ ILuint ilStrLen(const char *Str);
+
+
+ // Miscellaneous functions
+-ILvoid ilDefaultStates(ILvoid);
++ILvoid ilDefaultStates(void);
+ ILenum iGetHint(ILenum Target);
+ ILint iGetInt(ILenum Mode);
+-ILvoid ilRemoveRegistered(ILvoid);
++ILvoid ilRemoveRegistered(void);
+ ILAPI ILvoid ILAPIENTRY ilSetCurImage(ILimage *Image);
+
+
+@@ -178,16 +178,16 @@ ILAPI ILvoid ILAPIENTRY ilSetCurImage(IL
+ ILboolean ilRleCompressLine(ILubyte *ScanLine, ILuint Width, ILubyte Bpp, ILubyte *Dest, ILuint *DestWidth, ILenum CompressMode);
+ ILuint ilRleCompress(ILubyte *Data, ILuint Width, ILuint Height, ILuint Depth, ILubyte Bpp, ILubyte *Dest, ILenum CompressMode, ILuint *ScanTable);
+
+-ILvoid iSetImage0(ILvoid);
++ILvoid iSetImage0(void);
+
+
+ // Conversion functions
+-ILboolean ilAddAlpha(ILvoid);
++ILboolean ilAddAlpha(void);
+ ILboolean ilAddAlphaKey(ILimage *Image);
+ ILboolean iFastConvert(ILenum DestFormat);
+-ILboolean ilFixImage(ILvoid);
+-ILboolean ilRemoveAlpha(ILvoid);
+-ILboolean ilSwapColours(ILvoid);
++ILboolean ilFixImage(void);
++ILboolean ilRemoveAlpha(void);
++ILboolean ilSwapColours(void);
+
+
+ // Miscellaneous functions
+diff -Nurp DevIL-1.6.7/src-IL/include/il_jpeg.h DevIL-1.6.7.new/src-IL/include/il_jpeg.h
+--- DevIL-1.6.7/src-IL/include/il_jpeg.h 2002-06-13 08:51:36.000000000 +0200
++++ DevIL-1.6.7.new/src-IL/include/il_jpeg.h 2007-05-26 09:23:17.000000000 +0200
+@@ -16,11 +16,11 @@
+ #include "il_internal.h"
+
+ ILboolean iCheckJpg(ILubyte Header[2]);
+-ILboolean iIsValidJpg(ILvoid);
++ILboolean iIsValidJpg(void);
+
+ #ifndef IL_USE_IJL
+- ILboolean iLoadJpegInternal(ILvoid);
+- ILboolean iSaveJpegInternal(ILvoid);
++ ILboolean iLoadJpegInternal(void);
++ ILboolean iSaveJpegInternal(void);
+ #else
+ ILboolean iLoadJpegInternal(const ILstring FileName, ILvoid *Lump, ILuint Size);
+ ILboolean iSaveJpegInternal(const ILstring FileName, ILvoid *Lump, ILuint Size);
+diff -Nurp DevIL-1.6.7/src-IL/include/il_lif.h DevIL-1.6.7.new/src-IL/include/il_lif.h
+--- DevIL-1.6.7/src-IL/include/il_lif.h 2002-06-13 08:51:36.000000000 +0200
++++ DevIL-1.6.7.new/src-IL/include/il_lif.h 2007-05-26 09:23:17.000000000 +0200
+@@ -30,8 +30,8 @@ typedef struct LIF_HEAD
+ ILuint TeamEffect1; // Team effect offset 1
+ } LIF_HEAD;
+
+-ILboolean iIsValidLif(ILvoid);
++ILboolean iIsValidLif(void);
+ ILboolean iCheckLif(LIF_HEAD *Header);
+-ILboolean iLoadLifInternal(ILvoid);
++ILboolean iLoadLifInternal(void);
+
+ #endif//LIF_H
+diff -Nurp DevIL-1.6.7/src-IL/include/il_manip.h DevIL-1.6.7.new/src-IL/include/il_manip.h
+--- DevIL-1.6.7/src-IL/include/il_manip.h 2002-06-21 08:57:33.000000000 +0200
++++ DevIL-1.6.7.new/src-IL/include/il_manip.h 2007-05-26 09:23:17.000000000 +0200
+@@ -13,7 +13,7 @@
+ #ifndef MANIP_H
+ #define MANIP_H
+
+-ILboolean ilFlipImage(ILvoid);
+-ILboolean ilMirrorImage(ILvoid); //@JASON New routine created 03/28/2001
++ILboolean ilFlipImage(void);
++ILboolean ilMirrorImage(void); //@JASON New routine created 03/28/2001
+
+ #endif//MANIP_H
+diff -Nurp DevIL-1.6.7/src-IL/include/il_pcx.h DevIL-1.6.7.new/src-IL/include/il_pcx.h
+--- DevIL-1.6.7/src-IL/include/il_pcx.h 2002-06-13 08:51:36.000000000 +0200
++++ DevIL-1.6.7.new/src-IL/include/il_pcx.h 2007-05-26 09:23:17.000000000 +0200
+@@ -43,10 +43,10 @@ typedef struct PCXHEAD
+ #endif
+
+ // For checking and reading
+-ILboolean iIsValidPcx(ILvoid);
++ILboolean iIsValidPcx(void);
+ ILboolean iCheckPcx(PCXHEAD *Header);
+-ILboolean iLoadPcxInternal(ILvoid);
+-ILboolean iSavePcxInternal(ILvoid);
++ILboolean iLoadPcxInternal(void);
++ILboolean iSavePcxInternal(void);
+ ILboolean iUncompressPcx(PCXHEAD *Header);
+ ILboolean iUncompressSmall(PCXHEAD *Header);
+
+diff -Nurp DevIL-1.6.7/src-IL/include/il_pic.h DevIL-1.6.7.new/src-IL/include/il_pic.h
+--- DevIL-1.6.7/src-IL/include/il_pic.h 2002-05-22 04:56:08.000000000 +0200
++++ DevIL-1.6.7.new/src-IL/include/il_pic.h 2007-05-26 09:23:17.000000000 +0200
+@@ -65,9 +65,9 @@ typedef struct CHANNEL
+ #define PIC_AUXILIARY_1_CHANNEL 0x02 // XXX: Not implemented
+ #define PIC_AUXILIARY_2_CHANNEL 0x01 // XXX: Not implemented
+
+-ILboolean iIsValidPic(ILvoid);
++ILboolean iIsValidPic(void);
+ ILboolean iCheckPic(PIC_HEAD *Header);
+-ILboolean iLoadPicInternal(ILvoid);
++ILboolean iLoadPicInternal(void);
+ ILboolean readScanlines(ILuint *image, ILint width, ILint height, CHANNEL *channel, ILuint alpha);
+ ILuint readScanline(ILubyte *scan, ILint width, CHANNEL *channel, ILint bytes);
+ ILboolean channelReadRaw(ILubyte *scan, ILint width, ILint noCol, ILint *off, ILint bytes);
+diff -Nurp DevIL-1.6.7/src-IL/include/il_pnm.h DevIL-1.6.7.new/src-IL/include/il_pnm.h
+--- DevIL-1.6.7/src-IL/include/il_pnm.h 2002-06-13 08:51:36.000000000 +0200
++++ DevIL-1.6.7.new/src-IL/include/il_pnm.h 2007-05-26 09:23:17.000000000 +0200
+@@ -38,14 +38,14 @@ typedef struct PPMINFO
+ ILubyte Bpp;
+ } PPMINFO;
+
+-ILboolean iIsValidPnm(ILvoid);
++ILboolean iIsValidPnm(void);
+ ILboolean iCheckPnm(char Header[2]);
+-ILboolean iLoadPnmInternal(ILvoid);
+-ILboolean iSavePnmInternal(ILvoid);
++ILboolean iLoadPnmInternal(void);
++ILboolean iSavePnmInternal(void);
+ ILimage *ilReadAsciiPpm(PPMINFO *Info);
+ ILimage *ilReadBinaryPpm(PPMINFO *Info);
+ ILimage *ilReadBitPbm(PPMINFO *Info);
+-ILboolean iGetWord(ILvoid);
++ILboolean iGetWord(void);
+ ILvoid PbmMaximize(ILimage *Image);
+
+
+diff -Nurp DevIL-1.6.7/src-IL/include/il_psd.h DevIL-1.6.7.new/src-IL/include/il_psd.h
+--- DevIL-1.6.7/src-IL/include/il_psd.h 2002-06-13 08:51:36.000000000 +0200
++++ DevIL-1.6.7.new/src-IL/include/il_psd.h 2007-05-26 09:23:17.000000000 +0200
+@@ -37,9 +37,9 @@ typedef struct PSDHEAD
+
+ ILushort ChannelNum;
+
+-ILboolean iIsValidPsd(ILvoid);
++ILboolean iIsValidPsd(void);
+ ILboolean iCheckPsd(PSDHEAD *Header);
+-ILboolean iLoadPsdInternal(ILvoid);
++ILboolean iLoadPsdInternal(void);
+ ILboolean ReadPsd(PSDHEAD *Head);
+ ILboolean ReadGrey(PSDHEAD *Head);
+ ILboolean ReadIndexed(PSDHEAD *Head);
+@@ -49,7 +49,7 @@ ILuint *GetCompChanLen(PSDHEAD *Head);
+ ILboolean PsdGetData(PSDHEAD *Head, ILvoid *Buffer, ILboolean Compressed);
+ ILboolean ParseResources(ILuint ResourceSize, ILubyte *Resources);
+ ILboolean GetSingleChannel(PSDHEAD *Head, ILubyte *Buffer, ILboolean Compressed);
+-ILboolean iSavePsdInternal(ILvoid);
++ILboolean iSavePsdInternal(void);
+
+
+
+diff -Nurp DevIL-1.6.7/src-IL/include/il_psp.h DevIL-1.6.7.new/src-IL/include/il_psp.h
+--- DevIL-1.6.7/src-IL/include/il_psp.h 2002-06-13 08:51:36.000000000 +0200
++++ DevIL-1.6.7.new/src-IL/include/il_psp.h 2007-05-26 09:23:17.000000000 +0200
+@@ -232,18 +232,18 @@ typedef struct ALPHA_CHUNK
+
+
+ // Function definitions
+-ILboolean iLoadPspInternal(ILvoid);
+-ILboolean iCheckPsp(ILvoid);
+-ILboolean iIsValidPsp(ILvoid);
+-ILboolean ReadGenAttributes(ILvoid);
+-ILboolean ParseChunks(ILvoid);
++ILboolean iLoadPspInternal(void);
++ILboolean iCheckPsp(void);
++ILboolean iIsValidPsp(void);
++ILboolean ReadGenAttributes(void);
++ILboolean ParseChunks(void);
+ ILboolean ReadLayerBlock(ILuint BlockLen);
+ ILboolean ReadAlphaBlock(ILuint BlockLen);
+-ILubyte *GetChannel(ILvoid);
++ILubyte *GetChannel(void);
+ ILboolean UncompRLE(ILubyte *CompData, ILubyte *Data, ILuint CompLen);
+ ILboolean ReadPalette(ILuint BlockLen);
+-ILboolean AssembleImage(ILvoid);
+-ILboolean Cleanup(ILvoid);
++ILboolean AssembleImage(void);
++ILboolean Cleanup(void);
+
+
+
+diff -Nurp DevIL-1.6.7/src-IL/include/il_sgi.h DevIL-1.6.7.new/src-IL/include/il_sgi.h
+--- DevIL-1.6.7/src-IL/include/il_sgi.h 2002-06-22 10:46:31.000000000 +0200
++++ DevIL-1.6.7.new/src-IL/include/il_sgi.h 2007-05-26 09:23:17.000000000 +0200
+@@ -46,10 +46,10 @@ typedef struct iSgiHeader
+
+
+ // Internal functions
+-ILboolean iIsValidSgi(ILvoid);
++ILboolean iIsValidSgi(void);
+ ILboolean iCheckSgi(iSgiHeader *Header);
+-ILboolean iLoadSgiInternal(ILvoid);
+-ILboolean iSaveSgiInternal(ILvoid);
++ILboolean iLoadSgiInternal(void);
++ILboolean iSaveSgiInternal(void);
+ ILvoid iExpandScanLine(ILubyte *Dest, ILubyte *Src, ILuint Bpc);
+ ILint iGetScanLine(ILubyte *ScanLine, iSgiHeader *Head, ILuint Length);
+ ILint iGetScanLineFast(ILubyte *ScanLine, iSgiHeader *Head, ILuint Length, ILubyte*);
+diff -Nurp DevIL-1.6.7/src-IL/include/il_stack.h DevIL-1.6.7.new/src-IL/include/il_stack.h
+--- DevIL-1.6.7/src-IL/include/il_stack.h 2002-07-19 23:10:47.000000000 +0200
++++ DevIL-1.6.7.new/src-IL/include/il_stack.h 2007-05-26 09:23:17.000000000 +0200
+@@ -27,8 +27,8 @@ typedef struct iFree
+
+
+ // Internal functions
+-ILboolean iEnlargeStack(ILvoid);
+-ILvoid iFreeMem(ILvoid);
++ILboolean iEnlargeStack(void);
++ILvoid iFreeMem(void);
+
+ // Globals for il_stack.c
+ ILuint StackSize = 0;
+diff -Nurp DevIL-1.6.7/src-IL/include/il_targa.h DevIL-1.6.7.new/src-IL/include/il_targa.h
+--- DevIL-1.6.7/src-IL/include/il_targa.h 2003-12-30 06:49:36.000000000 +0100
++++ DevIL-1.6.7.new/src-IL/include/il_targa.h 2007-05-26 09:23:17.000000000 +0200
+@@ -98,8 +98,8 @@ typedef struct TARGAEXT
+ ILboolean iIsValidTarga();
+ ILboolean iGetTgaHead(TARGAHEAD *Header);
+ ILboolean iCheckTarga(TARGAHEAD *Header);
+-ILboolean iLoadTargaInternal(ILvoid);
+-ILboolean iSaveTargaInternal(ILvoid);
++ILboolean iLoadTargaInternal(void);
++ILboolean iSaveTargaInternal(void);
+ //ILvoid iMakeString(char *Str);
+ ILboolean iReadBwTga(TARGAHEAD *Header);
+ ILboolean iReadColMapTga(TARGAHEAD *Header);
+diff -Nurp DevIL-1.6.7/src-IL/src/il_doom.c DevIL-1.6.7.new/src-IL/src/il_doom.c
+--- DevIL-1.6.7/src-IL/src/il_doom.c 2002-06-13 08:51:37.000000000 +0200
++++ DevIL-1.6.7.new/src-IL/src/il_doom.c 2007-05-26 09:23:18.000000000 +0200
+@@ -18,8 +18,8 @@
+ #include "il_doompal.h"
+
+
+-ILboolean iLoadDoomInternal(ILvoid);
+-ILboolean iLoadDoomFlatInternal(ILvoid);
++ILboolean iLoadDoomInternal(void);
++ILboolean iLoadDoomFlatInternal(void);
+
+
+ //
+diff -Nurp DevIL-1.6.7/src-IL/src/il_error.c DevIL-1.6.7.new/src-IL/src/il_error.c
+--- DevIL-1.6.7/src-IL/src/il_error.c 2002-06-13 08:51:37.000000000 +0200
++++ DevIL-1.6.7.new/src-IL/src/il_error.c 2007-05-26 09:23:18.000000000 +0200
+@@ -41,7 +41,7 @@ ILAPI ILvoid ILAPIENTRY ilSetError(ILenu
+
+
+ //! Gets the last error on the error stack
+-ILenum ILAPIENTRY ilGetError(ILvoid)
++ILenum ILAPIENTRY ilGetError(void)
+ {
+ ILenum ilReturn;
+
+diff -Nurp DevIL-1.6.7/src-IL/src/il_files.c DevIL-1.6.7.new/src-IL/src/il_files.c
+--- DevIL-1.6.7/src-IL/src/il_files.c 2003-09-09 00:15:21.000000000 +0200
++++ DevIL-1.6.7.new/src-IL/src/il_files.c 2007-05-26 09:23:18.000000000 +0200
+@@ -17,20 +17,20 @@
+
+
+ // All specific to the next set of functions
+-ILboolean ILAPIENTRY iEofFile(ILvoid);
+-ILboolean ILAPIENTRY iEofLump(ILvoid);
+-ILint ILAPIENTRY iGetcFile(ILvoid);
+-ILint ILAPIENTRY iGetcLump(ILvoid);
++ILboolean ILAPIENTRY iEofFile(void);
++ILboolean ILAPIENTRY iEofLump(void);
++ILint ILAPIENTRY iGetcFile(void);
++ILint ILAPIENTRY iGetcLump(void);
+ ILuint ILAPIENTRY iReadFile(ILvoid *Buffer, ILuint Size, ILuint Number);
+ ILuint ILAPIENTRY iReadLump(ILvoid *Buffer, ILuint Size, ILuint Number);
+ ILuint ILAPIENTRY iSeekRFile(ILint Offset, ILuint Mode);
+ ILuint ILAPIENTRY iSeekRLump(ILint Offset, ILuint Mode);
+ ILuint ILAPIENTRY iSeekWFile(ILint Offset, ILuint Mode);
+ ILuint ILAPIENTRY iSeekWLump(ILint Offset, ILuint Mode);
+-ILuint ILAPIENTRY iTellRFile(ILvoid);
+-ILuint ILAPIENTRY iTellRLump(ILvoid);
+-ILuint ILAPIENTRY iTellWFile(ILvoid);
+-ILuint ILAPIENTRY iTellWLump(ILvoid);
++ILuint ILAPIENTRY iTellRFile(void);
++ILuint ILAPIENTRY iTellRLump(void);
++ILuint ILAPIENTRY iTellWFile(void);
++ILuint ILAPIENTRY iTellWLump(void);
+ ILint ILAPIENTRY iPutcFile(ILubyte Char);
+ ILint ILAPIENTRY iPutcLump(ILubyte Char);
+ ILint ILAPIENTRY iWriteFile(const ILvoid *Buffer, ILuint Size, ILuint Number);
+@@ -340,13 +340,13 @@ ILvoid ipad(ILuint NumZeros)
+
+ // Next 12 functions are the default write functions
+
+-ILboolean ILAPIENTRY iEofFile(ILvoid)
++ILboolean ILAPIENTRY iEofFile(void)
+ {
+ return EofProc((FILE*)FileRead);
+ }
+
+
+-ILboolean ILAPIENTRY iEofLump(ILvoid)
++ILboolean ILAPIENTRY iEofLump(void)
+ {
+ if (ReadLumpSize)
+ return (ReadLumpPos >= ReadLumpSize);
+@@ -354,7 +354,7 @@ ILboolean ILAPIENTRY iEofLump(ILvoid)
+ }
+
+
+-ILint ILAPIENTRY iGetcFile(ILvoid)
++ILint ILAPIENTRY iGetcFile(void)
+ {
+ if (!UseCache) {
+ return GetcProc(FileRead);
+@@ -368,7 +368,7 @@ ILint ILAPIENTRY iGetcFile(ILvoid)
+ }
+
+
+-ILint ILAPIENTRY iGetcLump(ILvoid)
++ILint ILAPIENTRY iGetcLump(void)
+ {
+ // If ReadLumpSize is 0, don't even check to see if we've gone past the bounds.
+ if (ReadLumpSize > 0) {
+@@ -564,25 +564,25 @@ ILuint ILAPIENTRY iSeekRLump(ILint Offse
+ }
+
+
+-ILuint ILAPIENTRY iTellRFile(ILvoid)
++ILuint ILAPIENTRY iTellRFile(void)
+ {
+ return TellRProc(FileRead);
+ }
+
+
+-ILuint ILAPIENTRY iTellRLump(ILvoid)
++ILuint ILAPIENTRY iTellRLump(void)
+ {
+ return ReadLumpPos;
+ }
+
+
+-ILHANDLE ILAPIENTRY iGetFile(ILvoid)
++ILHANDLE ILAPIENTRY iGetFile(void)
+ {
+ return FileRead;
+ }
+
+
+-ILubyte* ILAPIENTRY iGetLump(ILvoid)
++ILubyte* ILAPIENTRY iGetLump(void)
+ {
+ return ReadLump;
+ }
+@@ -683,13 +683,13 @@ ILuint ILAPIENTRY iSeekWLump(ILint Offse
+ }
+
+
+-ILuint ILAPIENTRY iTellWFile(ILvoid)
++ILuint ILAPIENTRY iTellWFile(void)
+ {
+ return TellWProc(FileWrite);
+ }
+
+
+-ILuint ILAPIENTRY iTellWLump(ILvoid)
++ILuint ILAPIENTRY iTellWLump(void)
+ {
+ return WriteLumpPos;
+ }
+diff -Nurp DevIL-1.6.7/src-IL/src/il_jpeg.c DevIL-1.6.7.new/src-IL/src/il_jpeg.c
+--- DevIL-1.6.7/src-IL/src/il_jpeg.c 2004-06-25 15:28:38.000000000 +0200
++++ DevIL-1.6.7.new/src-IL/src/il_jpeg.c 2007-05-26 09:23:18.000000000 +0200
+@@ -519,7 +519,7 @@ ILboolean iSaveJpegInternal()
+ // Here the array is only one element long, but you could pass
+ // more than one scanline at a time if that's more convenient.
+ row_pointer[0] = &TempData[JpegInfo.next_scanline * TempImage->Bps];
+- (ILvoid) jpeg_write_scanlines(&JpegInfo, row_pointer, 1);
++ (void) jpeg_write_scanlines(&JpegInfo, row_pointer, 1);
+ }
+
+ // Step 6: Finish compression
+@@ -933,7 +933,7 @@ ILboolean ILAPIENTRY ilSaveFromJpegStruc
+ // Here the array is only one element long, but you could pass
+ // more than one scanline at a time if that's more convenient.
+ row_pointer[0] = &TempData[JpegInfo->next_scanline * TempImage->Bps];
+- (ILvoid) jpeg_write_scanlines(JpegInfo, row_pointer, 1);
++ (void) jpeg_write_scanlines(JpegInfo, row_pointer, 1);
+ }
+
+ if (TempImage->Origin == IL_ORIGIN_LOWER_LEFT)
+diff -Nurp DevIL-1.6.7/src-IL/src/il_mdl.c DevIL-1.6.7.new/src-IL/src/il_mdl.c
+--- DevIL-1.6.7/src-IL/src/il_mdl.c 2002-06-13 08:51:37.000000000 +0200
++++ DevIL-1.6.7.new/src-IL/src/il_mdl.c 2007-05-26 09:23:18.000000000 +0200
+@@ -16,7 +16,7 @@
+ #include "il_mdl.h"
+
+
+-ILboolean iLoadMdlInternal(ILvoid);
++ILboolean iLoadMdlInternal(void);
+
+
+ //! Reads a .Mdl file
+diff -Nurp DevIL-1.6.7/src-IL/src/il_mng.c DevIL-1.6.7.new/src-IL/src/il_mng.c
+--- DevIL-1.6.7/src-IL/src/il_mng.c 2004-06-25 15:09:28.000000000 +0200
++++ DevIL-1.6.7.new/src-IL/src/il_mng.c 2007-05-26 09:23:18.000000000 +0200
+@@ -175,7 +175,7 @@ mng_bool MNG_DECL mymngerror(
+ }
+
+
+-ILboolean iLoadMngInternal(ILvoid);
++ILboolean iLoadMngInternal(void);
+
+ // Reads a file
+ ILboolean ilLoadMng(const ILstring FileName)
+@@ -257,7 +257,7 @@ ILboolean iLoadMngInternal()
+ }
+
+
+-ILboolean iSaveMngInternal(ILvoid);
++ILboolean iSaveMngInternal(void);
+
+ //! Writes a Mng file
+ ILboolean ilSaveMng(const ILstring FileName)
+diff -Nurp DevIL-1.6.7/src-IL/src/il_pcd.c DevIL-1.6.7.new/src-IL/src/il_pcd.c
+--- DevIL-1.6.7/src-IL/src/il_pcd.c 2002-06-20 01:30:35.000000000 +0200
++++ DevIL-1.6.7.new/src-IL/src/il_pcd.c 2007-05-26 09:23:18.000000000 +0200
+@@ -18,7 +18,7 @@
+ #include "il_manip.h"
+
+
+-ILboolean iLoadPcdInternal(ILvoid);
++ILboolean iLoadPcdInternal(void);
+
+ //! Reads a .pcd file
+ ILboolean ilLoadPcd(const ILstring FileName)
+diff -Nurp DevIL-1.6.7/src-IL/src/il_pic.c DevIL-1.6.7.new/src-IL/src/il_pic.c
+--- DevIL-1.6.7/src-IL/src/il_pic.c 2002-06-21 08:57:34.000000000 +0200
++++ DevIL-1.6.7.new/src-IL/src/il_pic.c 2007-05-26 09:23:18.000000000 +0200
+@@ -243,7 +243,7 @@ ILboolean readScanlines(ILuint *image, I
+ ILint i;
+ ILuint *scan;
+
+- (ILvoid)alpha;
++ (void)alpha;
+
+ for (i = height - 1; i >= 0; i--) {
+ scan = image + i * width;
+diff -Nurp DevIL-1.6.7/src-IL/src/il_pix.c DevIL-1.6.7.new/src-IL/src/il_pix.c
+--- DevIL-1.6.7/src-IL/src/il_pix.c 2002-06-13 08:51:37.000000000 +0200
++++ DevIL-1.6.7.new/src-IL/src/il_pix.c 2007-05-26 09:23:18.000000000 +0200
+@@ -33,7 +33,7 @@ typedef struct PIXHEAD
+ #endif
+
+ ILboolean iCheckPix(PIXHEAD *Header);
+-ILboolean iLoadPixInternal(ILvoid);
++ILboolean iLoadPixInternal(void);
+
+
+ // Internal function used to get the Pix header from the current file.
+diff -Nurp DevIL-1.6.7/src-IL/src/il_png.c DevIL-1.6.7.new/src-IL/src/il_png.c
+--- DevIL-1.6.7/src-IL/src/il_png.c 2004-06-24 11:38:54.000000000 +0200
++++ DevIL-1.6.7.new/src-IL/src/il_png.c 2007-05-26 09:23:18.000000000 +0200
+@@ -25,14 +25,14 @@
+ #warning DevIL was designed with libpng 1.2.0 or higher in mind. Consider upgrading at www.libpng.org
+ #endif
+
+-ILboolean iIsValidPng(ILvoid);
+-ILboolean iLoadPngInternal(ILvoid);
+-ILboolean iSavePngInternal(ILvoid);
++ILboolean iIsValidPng(void);
++ILboolean iLoadPngInternal(void);
++ILboolean iSavePngInternal(void);
+ ILvoid pngSwitchData(ILubyte *Data, ILuint SizeOfData, ILubyte Bpc);
+
+-ILint readpng_init(ILvoid);
++ILint readpng_init(void);
+ ILboolean readpng_get_image(ILdouble display_exponent);
+-ILvoid readpng_cleanup(ILvoid);
++ILvoid readpng_cleanup(void);
+
+ png_structp png_ptr = NULL;
+ png_infop info_ptr = NULL;
+@@ -207,7 +207,7 @@ ILboolean iLoadPngInternal()
+
+ static ILvoid png_read(png_structp png_ptr, png_bytep data, png_size_t length)
+ {
+- (ILvoid)png_ptr;
++ (void)png_ptr;
+ iread(data, 1, length);
+ return;
+ }
+@@ -455,7 +455,7 @@ ILboolean ilSavePngL(ILvoid *Lump, ILuin
+
+ ILvoid png_write(png_structp png_ptr, png_bytep data, png_size_t length)
+ {
+- (ILvoid)png_ptr;
++ (void)png_ptr;
+ iwrite(data, 1, length);
+ return;
+ }
+diff -Nurp DevIL-1.6.7/src-IL/src/il_pnm.c DevIL-1.6.7.new/src-IL/src/il_pnm.c
+--- DevIL-1.6.7/src-IL/src/il_pnm.c 2002-06-22 10:46:31.000000000 +0200
++++ DevIL-1.6.7.new/src-IL/src/il_pnm.c 2007-05-26 09:23:18.000000000 +0200
+@@ -407,7 +407,7 @@ ILimage *ilReadBitPbm(PPMINFO *Info)
+ }
+
+
+-ILboolean iGetWord(ILvoid)
++ILboolean iGetWord(void)
+ {
+ ILint WordPos = 0;
+ ILint Current = 0;
+diff -Nurp DevIL-1.6.7/src-IL/src/il_pxr.c DevIL-1.6.7.new/src-IL/src/il_pxr.c
+--- DevIL-1.6.7/src-IL/src/il_pxr.c 2002-05-27 07:45:44.000000000 +0200
++++ DevIL-1.6.7.new/src-IL/src/il_pxr.c 2007-05-26 09:23:18.000000000 +0200
+@@ -34,7 +34,7 @@ typedef struct PIXHEAD
+ #pragma pack(pop, pxr_struct)
+ #endif
+
+-ILboolean iLoadPxrInternal(ILvoid);
++ILboolean iLoadPxrInternal(void);
+
+
+ //! Reads a Pxr file
+diff -Nurp DevIL-1.6.7/src-IL/src/il_raw.c DevIL-1.6.7.new/src-IL/src/il_raw.c
+--- DevIL-1.6.7/src-IL/src/il_raw.c 2002-06-13 08:51:37.000000000 +0200
++++ DevIL-1.6.7.new/src-IL/src/il_raw.c 2007-05-26 09:23:18.000000000 +0200
+@@ -15,8 +15,8 @@
+ #ifndef IL_NO_RAW
+
+
+-ILboolean iLoadRawInternal(ILvoid);
+-ILboolean iSaveRawInternal(ILvoid);
++ILboolean iLoadRawInternal(void);
++ILboolean iSaveRawInternal(void);
+
+
+ //! Reads a raw file
+diff -Nurp DevIL-1.6.7/src-IL/src/il_states.c DevIL-1.6.7.new/src-IL/src/il_states.c
+--- DevIL-1.6.7/src-IL/src/il_states.c 2004-07-12 18:54:33.000000000 +0200
++++ DevIL-1.6.7.new/src-IL/src/il_states.c 2007-05-26 09:23:18.000000000 +0200
+@@ -308,7 +308,7 @@ ILboolean ILAPIENTRY ilGetBoolean(ILenum
+ }
+
+
+-ILimage *iGetBaseImage(ILvoid);
++ILimage *iGetBaseImage(void);
+
+ ILuint iGetActiveNum(ILenum Type)
+ {
+diff -Nurp DevIL-1.6.7/src-IL/src/.#il_states.c.1.34 DevIL-1.6.7.new/src-IL/src/.#il_states.c.1.34
+--- DevIL-1.6.7/src-IL/src/.#il_states.c.1.34 2004-07-02 23:44:44.000000000 +0200
++++ DevIL-1.6.7.new/src-IL/src/.#il_states.c.1.34 2007-05-26 09:23:18.000000000 +0200
+@@ -308,7 +308,7 @@ ILboolean ILAPIENTRY ilGetBoolean(ILenum
+ }
+
+
+-ILimage *iGetBaseImage(ILvoid);
++ILimage *iGetBaseImage(void);
+
+ ILuint iGetActiveNum(ILenum Type)
+ {
+diff -Nurp DevIL-1.6.7/src-IL/src/il_tiff.c DevIL-1.6.7.new/src-IL/src/il_tiff.c
+--- DevIL-1.6.7/src-IL/src/il_tiff.c 2004-07-12 18:54:29.000000000 +0200
++++ DevIL-1.6.7.new/src-IL/src/il_tiff.c 2007-05-26 09:23:19.000000000 +0200
+@@ -25,8 +25,8 @@
+ /*----------------------------------------------------------------------------*/
+
+ // No need for a separate header
+-static ILboolean iLoadTiffInternal(ILvoid);
+-static char* iMakeString(ILvoid);
++static ILboolean iLoadTiffInternal(void);
++static char* iMakeString(void);
+ static TIFF* iTIFFOpen(char *Mode);
+ static ILboolean iSaveTiffInternal(char *Filename);
+
+diff -Nurp DevIL-1.6.7/src-IL/src/il_wal.c DevIL-1.6.7.new/src-IL/src/il_wal.c
+--- DevIL-1.6.7/src-IL/src/il_wal.c 2002-07-19 23:10:47.000000000 +0200
++++ DevIL-1.6.7.new/src-IL/src/il_wal.c 2007-05-26 09:23:19.000000000 +0200
+@@ -29,7 +29,7 @@ typedef struct WALHEAD
+ ILuint Value; // ??
+ } WALHEAD;
+
+-ILboolean iLoadWalInternal(ILvoid);
++ILboolean iLoadWalInternal(void);
+
+
+ //! Reads a .wal file
+diff -Nurp DevIL-1.6.7/src-IL/src/il_xpm.c DevIL-1.6.7.new/src-IL/src/il_xpm.c
+--- DevIL-1.6.7/src-IL/src/il_xpm.c 2004-07-12 18:54:33.000000000 +0200
++++ DevIL-1.6.7.new/src-IL/src/il_xpm.c 2007-05-26 09:23:19.000000000 +0200
+@@ -16,7 +16,7 @@
+ #include <ctype.h>
+
+
+-ILboolean iLoadXpmInternal(ILvoid);
++ILboolean iLoadXpmInternal(void);
+
+
+ // Reads an .xpm file
+diff -Nurp DevIL-1.6.7/src-ILU/include/ilu_internal.h DevIL-1.6.7.new/src-ILU/include/ilu_internal.h
+--- DevIL-1.6.7/src-ILU/include/ilu_internal.h 2004-07-12 18:55:43.000000000 +0200
++++ DevIL-1.6.7.new/src-ILU/include/ilu_internal.h 2007-05-26 09:23:19.000000000 +0200
+@@ -82,7 +82,7 @@ ILfloat ilCos(ILfloat Angle);
+ ILfloat ilSin(ILfloat Angle);
+ ILint ilRound(ILfloat Num);
+ ILuint iluScaleAdvanced(ILuint Width, ILuint Height, ILenum Filter);
+-ILubyte *iScanFill(ILvoid);
++ILubyte *iScanFill(void);
+
+
+ #endif//INTERNAL_H
+diff -Nurp DevIL-1.6.7/src-ILU/src/ilu_filter.c DevIL-1.6.7.new/src-ILU/src/ilu_filter.c
+--- DevIL-1.6.7/src-ILU/src/ilu_filter.c 2004-07-13 09:51:52.000000000 +0200
++++ DevIL-1.6.7.new/src-ILU/src/ilu_filter.c 2007-05-26 09:23:19.000000000 +0200
+@@ -1060,7 +1060,7 @@ ILboolean ILAPIENTRY iluSaturate4f(ILflo
+
+
+ //! Funny as hell filter that I stumbled upon accidentally
+-ILboolean ILAPIENTRY iluAlienify(ILvoid)
++ILboolean ILAPIENTRY iluAlienify(void)
+ {
+ ILfloat Mat[3][3];
+ ILubyte *Data;
+diff -Nurp DevIL-1.6.7/src-ILU/src/.#ilu_filter.c.1.8 DevIL-1.6.7.new/src-ILU/src/.#ilu_filter.c.1.8
+--- DevIL-1.6.7/src-ILU/src/.#ilu_filter.c.1.8 2004-06-28 09:28:55.000000000 +0200
++++ DevIL-1.6.7.new/src-ILU/src/.#ilu_filter.c.1.8 2007-05-26 09:23:19.000000000 +0200
+@@ -1070,7 +1070,7 @@ ILboolean ILAPIENTRY iluSaturate4f(ILflo
+
+
+ //! Funny as hell filter that I stumbled upon accidentally
+-ILboolean ILAPIENTRY iluAlienify(ILvoid)
++ILboolean ILAPIENTRY iluAlienify(void)
+ {
+ ILfloat Mat[3][3];
+ ILubyte *Data;
+diff -Nurp DevIL-1.6.7/src-ILUT/include/ilut_internal.h DevIL-1.6.7.new/src-ILUT/include/ilut_internal.h
+--- DevIL-1.6.7/src-ILUT/include/ilut_internal.h 2003-08-08 21:33:49.000000000 +0200
++++ DevIL-1.6.7.new/src-ILUT/include/ilut_internal.h 2007-05-26 09:23:20.000000000 +0200
+@@ -43,7 +43,7 @@
+ extern ILimage *ilutCurImage;
+
+
+-ILvoid ilutDefaultStates(ILvoid);
++ILvoid ilutDefaultStates(void);
+
+
+ // ImageLib Utility Toolkit's OpenGL Functions