1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
|
diff -ru DevIL-1.6.8.orig/include/IL/devil_internal_exports.h DevIL-1.6.8/include/IL/devil_internal_exports.h
--- DevIL-1.6.8.orig/include/IL/devil_internal_exports.h 2006-07-15 03:24:39.000000000 -0500
+++ DevIL-1.6.8/include/IL/devil_internal_exports.h 2008-04-23 00:35:20.000000000 -0500
@@ -91,7 +91,7 @@
#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);
@@ -113,15 +113,15 @@
//
// 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 -ru DevIL-1.6.8.orig/include/IL/il.h DevIL-1.6.8/include/IL/il.h
--- DevIL-1.6.8.orig/include/IL/il.h 2006-08-10 08:20:10.000000000 -0500
+++ DevIL-1.6.8/include/IL/il.h 2008-04-23 00:35:20.000000000 -0500
@@ -445,15 +445,15 @@
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 ilDeleteImage(const ILuint Num);
ILAPI ILvoid ILAPIENTRY ilDeleteImages(ILsizei Num, const ILuint *Images);
ILAPI ILboolean ILAPIENTRY ilDisable(ILenum Mode);
@@ -464,16 +464,16 @@
ILAPI ILubyte* ILAPIENTRY ilGetAlpha(ILenum Type);
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 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);
@@ -489,7 +489,7 @@
ILAPI ILvoid ILAPIENTRY ilModAlpha( ILdouble AlphaValue );
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);
@@ -501,9 +501,9 @@
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, ILstring FileName);
ILAPI ILuint ILAPIENTRY ilSaveF(ILenum Type, ILHANDLE File);
ILAPI ILboolean ILAPIENTRY ilSaveImage(const ILstring FileName);
@@ -518,7 +518,7 @@
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 numChannels, ILenum Format, ILenum Type, ILvoid *Data);
ILAPI ILenum ILAPIENTRY ilTypeFromExt(const ILstring FileName);
ILAPI ILboolean ILAPIENTRY ilTypeFunc(ILenum Mode);
diff -ru DevIL-1.6.8.orig/include/IL/il_wrap.h DevIL-1.6.8/include/IL/il_wrap.h
--- DevIL-1.6.8.orig/include/IL/il_wrap.h 2006-07-02 05:04:36.000000000 -0500
+++ DevIL-1.6.8/include/IL/il_wrap.h 2008-04-23 00:35:20.000000000 -0500
@@ -29,44 +29,44 @@
ILboolean ActiveImage(ILuint);
ILboolean ActiveLayer(ILuint);
ILboolean ActiveMipmap(ILuint);
- ILboolean Clear(ILvoid);
+ ILboolean Clear(void);
ILvoid ClearColour(ILclampf, ILclampf, ILclampf, ILclampf);
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();
ILenum PaletteAlphaIndex();
// 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 @@
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 @@
class ilAlleg
{
public:
- static ILvoid Init(ILvoid);
+ static ILvoid Init(void);
static BITMAP *Convert(ilImage &);
};
#endif//ILUT_USE_ALLEGRO
@@ -135,7 +135,7 @@
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 @@
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 @@
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 -ru DevIL-1.6.8.orig/include/IL/ilu.h DevIL-1.6.8/include/IL/ilu.h
--- DevIL-1.6.8.orig/include/IL/ilu.h 2006-08-16 04:18:21.000000000 -0500
+++ DevIL-1.6.8/include/IL/ilu.h 2008-04-23 00:35:20.000000000 -0500
@@ -122,37 +122,37 @@
// 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 ILstring ILAPIENTRY iluErrorString(ILenum Error);
ILAPI ILboolean ILAPIENTRY iluConvolution(ILint *matrix, ILint scale, ILint bias);
-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 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);
@@ -166,7 +166,7 @@
ILAPI ILboolean ILAPIENTRY iluScaleAlpha(ILfloat scale);
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 -ru DevIL-1.6.8.orig/include/IL/ilut.h DevIL-1.6.8/include/IL/ilut.h
--- DevIL-1.6.8.orig/include/IL/ilut.h 2006-07-04 09:43:23.000000000 -0500
+++ DevIL-1.6.8/include/IL/ilut.h 2008-04-23 00:35:42.000000000 -0500
@@ -198,10 +198,10 @@
ILAPI ILint ILAPIENTRY ilutGetInteger(ILenum Mode);
ILAPI ILvoid ILAPIENTRY ilutGetIntegerv(ILenum Mode, ILint *Param);
ILAPI 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);
@@ -211,11 +211,11 @@
// ImageLib Utility Toolkit's OpenGL Functions
#ifdef ILUT_USE_OPENGL
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(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(ILstring FileName, GLuint TexID);
ILAPI ILboolean ILAPIENTRY ilutGLSetTex(GLuint TexID);
ILAPI ILboolean ILAPIENTRY ilutGLTexImage(GLuint Level);
@@ -234,7 +234,7 @@
extern "C" {
#endif
- ILAPI BITMAP* ILAPIENTRY ilutAllegLoadImage(Lstring FileName);
+ ILAPI BITMAP* ILAPIENTRY ilutAllegLoadImage(ILstring FileName);
ILAPI BITMAP* ILAPIENTRY ilutConvertToAlleg(PALETTE Pal);
#endif//ILUT_USE_ALLEGRO
@@ -249,7 +249,7 @@
// ImageLib Utility Toolkit's BeOS Functions
#ifdef ILUT_USE_BEOS
- ILAPI BBitmap ILAPIENTRY ilutConvertToBBitmap(ILvoid);
+ ILAPI BBitmap ILAPIENTRY ilutConvertToBBitmap(void);
#endif//ILUT_USE_BEOS
@@ -259,13 +259,13 @@
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, 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(ILstring FileName, HDC hDC);
ILAPI ILboolean ILAPIENTRY ilutWinLoadUrl(ILstring Url);
ILAPI ILboolean ILAPIENTRY ilutWinPrint(ILuint XPos, ILuint YPos, ILuint Width, ILuint Height, HDC hDC);
diff -ru DevIL-1.6.8.orig/projects/msvc/gdi+/DevIL-GDI+.cpp DevIL-1.6.8/projects/msvc/gdi+/DevIL-GDI+.cpp
--- DevIL-1.6.8.orig/projects/msvc/gdi+/DevIL-GDI+.cpp 2006-09-01 13:21:35.000000000 -0500
+++ DevIL-1.6.8/projects/msvc/gdi+/DevIL-GDI+.cpp 2008-04-23 00:35:18.000000000 -0500
@@ -56,9 +56,9 @@
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 -ru DevIL-1.6.8.orig/projects/msvc/mfc/DevIL-MFC.cpp DevIL-1.6.8/projects/msvc/mfc/DevIL-MFC.cpp
--- DevIL-1.6.8.orig/projects/msvc/mfc/DevIL-MFC.cpp 2006-09-01 13:21:35.000000000 -0500
+++ DevIL-1.6.8/projects/msvc/mfc/DevIL-MFC.cpp 2008-04-23 00:35:18.000000000 -0500
@@ -56,9 +56,9 @@
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 -ru DevIL-1.6.8.orig/projects/msvc/mfc/DevIL-MFC.h DevIL-1.6.8/projects/msvc/mfc/DevIL-MFC.h
--- DevIL-1.6.8.orig/projects/msvc/mfc/DevIL-MFC.h 2006-09-01 13:21:35.000000000 -0500
+++ DevIL-1.6.8/projects/msvc/mfc/DevIL-MFC.h 2008-04-23 00:35:18.000000000 -0500
@@ -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 -ru DevIL-1.6.8.orig/src-IL/include/il_bmp.h DevIL-1.6.8/src-IL/include/il_bmp.h
--- DevIL-1.6.8.orig/src-IL/include/il_bmp.h 2006-09-01 12:41:19.000000000 -0500
+++ DevIL-1.6.8/src-IL/include/il_bmp.h 2008-04-23 00:35:20.000000000 -0500
@@ -61,11 +61,11 @@
// 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 -ru DevIL-1.6.8.orig/src-IL/include/il_dcx.h DevIL-1.6.8/src-IL/include/il_dcx.h
--- DevIL-1.6.8.orig/src-IL/include/il_dcx.h 2002-06-13 01:51:36.000000000 -0500
+++ DevIL-1.6.8/src-IL/include/il_dcx.h 2008-04-23 00:35:20.000000000 -0500
@@ -43,9 +43,9 @@
#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 -ru DevIL-1.6.8.orig/src-IL/include/il_files.h DevIL-1.6.8/src-IL/include/il_files.h
--- DevIL-1.6.8.orig/src-IL/include/il_files.h 2006-07-02 05:04:41.000000000 -0500
+++ DevIL-1.6.8/src-IL/include/il_files.h 2008-04-23 00:35:20.000000000 -0500
@@ -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 ILvoid iSetInputFile(ILHANDLE File);
__FILES_EXTERN ILvoid iSetInputLump(const 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 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 const ILubyte* ILAPIENTRY iGetLump(ILvoid);
+__FILES_EXTERN ILHANDLE ILAPIENTRY iGetFile(void);
+__FILES_EXTERN const 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 -ru DevIL-1.6.8.orig/src-IL/include/il_gif.h DevIL-1.6.8/src-IL/include/il_gif.h
--- DevIL-1.6.8.orig/src-IL/include/il_gif.h 2004-06-13 05:09:37.000000000 -0500
+++ DevIL-1.6.8/src-IL/include/il_gif.h 2008-04-23 00:35:20.000000000 -0500
@@ -57,9 +57,9 @@
#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 -ru DevIL-1.6.8.orig/src-IL/include/il_internal.h DevIL-1.6.8/src-IL/include/il_internal.h
--- DevIL-1.6.8.orig/src-IL/include/il_internal.h 2006-07-02 05:04:40.000000000 -0500
+++ DevIL-1.6.8/src-IL/include/il_internal.h 2008-04-23 00:35:20.000000000 -0500
@@ -137,10 +137,10 @@
char* ilStrDup(const char *Str);
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);
//
// Rle compression
@@ -151,14 +151,14 @@
#define IL_BMPCOMP 0x04
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
char *iGetString(ILenum StringName); // Internal version of ilGetString
// Library usage
diff -ru DevIL-1.6.8.orig/src-IL/include/il_jpeg.h DevIL-1.6.8/src-IL/include/il_jpeg.h
--- DevIL-1.6.8.orig/src-IL/include/il_jpeg.h 2002-06-13 01:51:36.000000000 -0500
+++ DevIL-1.6.8/src-IL/include/il_jpeg.h 2008-04-23 00:35:20.000000000 -0500
@@ -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 -ru DevIL-1.6.8.orig/src-IL/include/il_lif.h DevIL-1.6.8/src-IL/include/il_lif.h
--- DevIL-1.6.8.orig/src-IL/include/il_lif.h 2002-06-13 01:51:36.000000000 -0500
+++ DevIL-1.6.8/src-IL/include/il_lif.h 2008-04-23 00:35:20.000000000 -0500
@@ -30,8 +30,8 @@
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 -ru DevIL-1.6.8.orig/src-IL/include/il_manip.h DevIL-1.6.8/src-IL/include/il_manip.h
--- DevIL-1.6.8.orig/src-IL/include/il_manip.h 2002-06-21 01:57:33.000000000 -0500
+++ DevIL-1.6.8/src-IL/include/il_manip.h 2008-04-23 00:35:20.000000000 -0500
@@ -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 -ru DevIL-1.6.8.orig/src-IL/include/il_pcx.h DevIL-1.6.8/src-IL/include/il_pcx.h
--- DevIL-1.6.8.orig/src-IL/include/il_pcx.h 2002-06-13 01:51:36.000000000 -0500
+++ DevIL-1.6.8/src-IL/include/il_pcx.h 2008-04-23 00:35:20.000000000 -0500
@@ -43,10 +43,10 @@
#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 -ru DevIL-1.6.8.orig/src-IL/include/il_pic.h DevIL-1.6.8/src-IL/include/il_pic.h
--- DevIL-1.6.8.orig/src-IL/include/il_pic.h 2002-05-21 21:56:08.000000000 -0500
+++ DevIL-1.6.8/src-IL/include/il_pic.h 2008-04-23 00:35:20.000000000 -0500
@@ -65,9 +65,9 @@
#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 -ru DevIL-1.6.8.orig/src-IL/include/il_pnm.h DevIL-1.6.8/src-IL/include/il_pnm.h
--- DevIL-1.6.8.orig/src-IL/include/il_pnm.h 2002-06-13 01:51:36.000000000 -0500
+++ DevIL-1.6.8/src-IL/include/il_pnm.h 2008-04-23 00:35:20.000000000 -0500
@@ -38,14 +38,14 @@
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 -ru DevIL-1.6.8.orig/src-IL/include/il_psd.h DevIL-1.6.8/src-IL/include/il_psd.h
--- DevIL-1.6.8.orig/src-IL/include/il_psd.h 2002-06-13 01:51:36.000000000 -0500
+++ DevIL-1.6.8/src-IL/include/il_psd.h 2008-04-23 00:35:20.000000000 -0500
@@ -37,9 +37,9 @@
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 @@
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 -ru DevIL-1.6.8.orig/src-IL/include/il_psp.h DevIL-1.6.8/src-IL/include/il_psp.h
--- DevIL-1.6.8.orig/src-IL/include/il_psp.h 2002-06-13 01:51:36.000000000 -0500
+++ DevIL-1.6.8/src-IL/include/il_psp.h 2008-04-23 00:35:20.000000000 -0500
@@ -232,18 +232,18 @@
// 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 -ru DevIL-1.6.8.orig/src-IL/include/il_sgi.h DevIL-1.6.8/src-IL/include/il_sgi.h
--- DevIL-1.6.8.orig/src-IL/include/il_sgi.h 2006-07-15 02:32:48.000000000 -0500
+++ DevIL-1.6.8/src-IL/include/il_sgi.h 2008-04-23 00:35:20.000000000 -0500
@@ -50,10 +50,10 @@
// 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 -ru DevIL-1.6.8.orig/src-IL/include/il_stack.h DevIL-1.6.8/src-IL/include/il_stack.h
--- DevIL-1.6.8.orig/src-IL/include/il_stack.h 2002-07-19 16:10:47.000000000 -0500
+++ DevIL-1.6.8/src-IL/include/il_stack.h 2008-04-23 00:35:20.000000000 -0500
@@ -27,8 +27,8 @@
// Internal functions
-ILboolean iEnlargeStack(ILvoid);
-ILvoid iFreeMem(ILvoid);
+ILboolean iEnlargeStack(void);
+ILvoid iFreeMem(void);
// Globals for il_stack.c
ILuint StackSize = 0;
diff -ru DevIL-1.6.8.orig/src-IL/include/il_targa.h DevIL-1.6.8/src-IL/include/il_targa.h
--- DevIL-1.6.8.orig/src-IL/include/il_targa.h 2006-03-03 17:38:09.000000000 -0600
+++ DevIL-1.6.8/src-IL/include/il_targa.h 2008-04-23 00:35:20.000000000 -0500
@@ -95,8 +95,8 @@
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 -ru DevIL-1.6.8.orig/src-IL/src/il_doom.c DevIL-1.6.8/src-IL/src/il_doom.c
--- DevIL-1.6.8.orig/src-IL/src/il_doom.c 2006-07-15 02:23:12.000000000 -0500
+++ DevIL-1.6.8/src-IL/src/il_doom.c 2008-04-23 00:35:19.000000000 -0500
@@ -18,8 +18,8 @@
#include "il_doompal.h"
-ILboolean iLoadDoomInternal(ILvoid);
-ILboolean iLoadDoomFlatInternal(ILvoid);
+ILboolean iLoadDoomInternal(void);
+ILboolean iLoadDoomFlatInternal(void);
//
diff -ru DevIL-1.6.8.orig/src-IL/src/il_error.c DevIL-1.6.8/src-IL/src/il_error.c
--- DevIL-1.6.8.orig/src-IL/src/il_error.c 2002-06-13 01:51:37.000000000 -0500
+++ DevIL-1.6.8/src-IL/src/il_error.c 2008-04-23 00:35:19.000000000 -0500
@@ -41,7 +41,7 @@
//! Gets the last error on the error stack
-ILenum ILAPIENTRY ilGetError(ILvoid)
+ILenum ILAPIENTRY ilGetError(void)
{
ILenum ilReturn;
diff -ru DevIL-1.6.8.orig/src-IL/src/il_files.c DevIL-1.6.8/src-IL/src/il_files.c
--- DevIL-1.6.8.orig/src-IL/src/il_files.c 2006-07-15 02:23:12.000000000 -0500
+++ DevIL-1.6.8/src-IL/src/il_files.c 2008-04-23 00:35:20.000000000 -0500
@@ -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);
@@ -341,13 +341,13 @@
// 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);
@@ -355,7 +355,7 @@
}
-ILint ILAPIENTRY iGetcFile(ILvoid)
+ILint ILAPIENTRY iGetcFile(void)
{
if (!UseCache) {
return GetcProc(FileRead);
@@ -369,7 +369,7 @@
}
-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) {
@@ -565,25 +565,25 @@
}
-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;
}
-const ILubyte* ILAPIENTRY iGetLump(ILvoid) {
+const ILubyte* ILAPIENTRY iGetLump(void) {
return (ILubyte *)ReadLump;
}
@@ -683,13 +683,13 @@
}
-ILuint ILAPIENTRY iTellWFile(ILvoid)
+ILuint ILAPIENTRY iTellWFile(void)
{
return TellWProc(FileWrite);
}
-ILuint ILAPIENTRY iTellWLump(ILvoid)
+ILuint ILAPIENTRY iTellWLump(void)
{
return WriteLumpPos;
}
diff -ru DevIL-1.6.8.orig/src-IL/src/il_mdl.c DevIL-1.6.8/src-IL/src/il_mdl.c
--- DevIL-1.6.8.orig/src-IL/src/il_mdl.c 2006-07-15 02:23:12.000000000 -0500
+++ DevIL-1.6.8/src-IL/src/il_mdl.c 2008-04-23 00:35:20.000000000 -0500
@@ -16,7 +16,7 @@
#include "il_mdl.h"
-ILboolean iLoadMdlInternal(ILvoid);
+ILboolean iLoadMdlInternal(void);
//! Reads a .Mdl file
diff -ru DevIL-1.6.8.orig/src-IL/src/il_mng.c DevIL-1.6.8/src-IL/src/il_mng.c
--- DevIL-1.6.8.orig/src-IL/src/il_mng.c 2006-07-02 05:04:35.000000000 -0500
+++ DevIL-1.6.8/src-IL/src/il_mng.c 2008-04-23 00:35:20.000000000 -0500
@@ -185,7 +185,7 @@
}
-ILboolean iLoadMngInternal(ILvoid);
+ILboolean iLoadMngInternal(void);
// Reads a file
ILboolean ilLoadMng(const ILstring FileName)
@@ -267,7 +267,7 @@
}
-ILboolean iSaveMngInternal(ILvoid);
+ILboolean iSaveMngInternal(void);
//! Writes a Mng file
ILboolean ilSaveMng(const ILstring FileName)
diff -ru DevIL-1.6.8.orig/src-IL/src/il_pcd.c DevIL-1.6.8/src-IL/src/il_pcd.c
--- DevIL-1.6.8.orig/src-IL/src/il_pcd.c 2006-07-15 02:23:12.000000000 -0500
+++ DevIL-1.6.8/src-IL/src/il_pcd.c 2008-04-23 00:35:20.000000000 -0500
@@ -18,7 +18,7 @@
#include "il_manip.h"
-ILboolean iLoadPcdInternal(ILvoid);
+ILboolean iLoadPcdInternal(void);
//! Reads a .pcd file
ILboolean ilLoadPcd(const ILstring FileName)
diff -ru DevIL-1.6.8.orig/src-IL/src/il_pic.c DevIL-1.6.8/src-IL/src/il_pic.c
--- DevIL-1.6.8.orig/src-IL/src/il_pic.c 2006-07-15 02:23:12.000000000 -0500
+++ DevIL-1.6.8/src-IL/src/il_pic.c 2008-04-23 00:35:19.000000000 -0500
@@ -242,7 +242,7 @@
ILint i;
ILuint *scan;
- (ILvoid)alpha;
+ (void)alpha;
for (i = height - 1; i >= 0; i--) {
scan = image + i * width;
diff -ru DevIL-1.6.8.orig/src-IL/src/il_pix.c DevIL-1.6.8/src-IL/src/il_pix.c
--- DevIL-1.6.8.orig/src-IL/src/il_pix.c 2006-07-15 02:23:12.000000000 -0500
+++ DevIL-1.6.8/src-IL/src/il_pix.c 2008-04-23 00:35:19.000000000 -0500
@@ -33,7 +33,7 @@
#endif
ILboolean iCheckPix(PIXHEAD *Header);
-ILboolean iLoadPixInternal(ILvoid);
+ILboolean iLoadPixInternal(void);
// Internal function used to get the Pix header from the current file.
diff -ru DevIL-1.6.8.orig/src-IL/src/il_png.c DevIL-1.6.8/src-IL/src/il_png.c
--- DevIL-1.6.8.orig/src-IL/src/il_png.c 2006-08-16 04:18:21.000000000 -0500
+++ DevIL-1.6.8/src-IL/src/il_png.c 2008-04-23 00:35:20.000000000 -0500
@@ -36,13 +36,13 @@
#endif
-ILboolean iIsValidPng(ILvoid);
-ILboolean iLoadPngInternal(ILvoid);
-ILboolean iSavePngInternal(ILvoid);
+ILboolean iIsValidPng(void);
+ILboolean iLoadPngInternal(void);
+ILboolean iSavePngInternal(void);
-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;
@@ -178,7 +178,7 @@
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;
}
@@ -464,7 +464,7 @@
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 -ru DevIL-1.6.8.orig/src-IL/src/il_pnm.c DevIL-1.6.8/src-IL/src/il_pnm.c
--- DevIL-1.6.8.orig/src-IL/src/il_pnm.c 2006-07-15 02:23:12.000000000 -0500
+++ DevIL-1.6.8/src-IL/src/il_pnm.c 2008-04-23 00:35:19.000000000 -0500
@@ -404,7 +404,7 @@
}
-ILboolean iGetWord(ILvoid)
+ILboolean iGetWord(void)
{
ILint WordPos = 0;
ILint Current = 0;
diff -ru DevIL-1.6.8.orig/src-IL/src/il_pxr.c DevIL-1.6.8/src-IL/src/il_pxr.c
--- DevIL-1.6.8.orig/src-IL/src/il_pxr.c 2006-07-15 02:23:12.000000000 -0500
+++ DevIL-1.6.8/src-IL/src/il_pxr.c 2008-04-23 00:35:19.000000000 -0500
@@ -34,7 +34,7 @@
#pragma pack(pop, pxr_struct)
#endif
-ILboolean iLoadPxrInternal(ILvoid);
+ILboolean iLoadPxrInternal(void);
//! Reads a Pxr file
diff -ru DevIL-1.6.8.orig/src-IL/src/il_raw.c DevIL-1.6.8/src-IL/src/il_raw.c
--- DevIL-1.6.8.orig/src-IL/src/il_raw.c 2006-07-15 02:23:12.000000000 -0500
+++ DevIL-1.6.8/src-IL/src/il_raw.c 2008-04-23 00:35:20.000000000 -0500
@@ -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 -ru DevIL-1.6.8.orig/src-IL/src/il_states.c DevIL-1.6.8/src-IL/src/il_states.c
--- DevIL-1.6.8.orig/src-IL/src/il_states.c 2006-07-02 05:04:33.000000000 -0500
+++ DevIL-1.6.8/src-IL/src/il_states.c 2008-04-23 00:35:19.000000000 -0500
@@ -308,7 +308,7 @@
}
-ILimage *iGetBaseImage(ILvoid);
+ILimage *iGetBaseImage(void);
ILuint iGetActiveNum(ILenum Type)
{
diff -ru DevIL-1.6.8.orig/src-IL/src/il_tiff.c DevIL-1.6.8/src-IL/src/il_tiff.c
--- DevIL-1.6.8.orig/src-IL/src/il_tiff.c 2006-09-01 07:04:22.000000000 -0500
+++ DevIL-1.6.8/src-IL/src/il_tiff.c 2008-04-23 00:35:19.000000000 -0500
@@ -36,8 +36,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();
static ILboolean iSaveTiffInternal(const char* Filename);
diff -ru DevIL-1.6.8.orig/src-IL/src/il_wal.c DevIL-1.6.8/src-IL/src/il_wal.c
--- DevIL-1.6.8.orig/src-IL/src/il_wal.c 2006-07-15 02:23:13.000000000 -0500
+++ DevIL-1.6.8/src-IL/src/il_wal.c 2008-04-23 00:35:19.000000000 -0500
@@ -29,7 +29,7 @@
ILuint Value; // ??
} WALHEAD;
-ILboolean iLoadWalInternal(ILvoid);
+ILboolean iLoadWalInternal(void);
//! Reads a .wal file
diff -ru DevIL-1.6.8.orig/src-IL/src/il_xpm.c DevIL-1.6.8/src-IL/src/il_xpm.c
--- DevIL-1.6.8.orig/src-IL/src/il_xpm.c 2006-07-15 02:23:13.000000000 -0500
+++ DevIL-1.6.8/src-IL/src/il_xpm.c 2008-04-23 00:35:19.000000000 -0500
@@ -20,7 +20,7 @@
//(not much).
//#define XPM_DONT_USE_HASHTABLE
-ILboolean iLoadXpmInternal(ILvoid);
+ILboolean iLoadXpmInternal(void);
// Reads an .xpm file
diff -ru DevIL-1.6.8.orig/src-ILU/include/ilu_internal.h DevIL-1.6.8/src-ILU/include/ilu_internal.h
--- DevIL-1.6.8.orig/src-ILU/include/ilu_internal.h 2006-07-09 05:10:57.000000000 -0500
+++ DevIL-1.6.8/src-ILU/include/ilu_internal.h 2008-04-23 00:35:16.000000000 -0500
@@ -84,7 +84,7 @@
ILuint iluScaleAdvanced(ILuint Width, ILuint Height, ILenum Filter);
-ILubyte *iScanFill(ILvoid);
+ILubyte *iScanFill(void);
#endif//INTERNAL_H
diff -ru DevIL-1.6.8.orig/src-ILU/src/ilu_filter.c DevIL-1.6.8/src-ILU/src/ilu_filter.c
--- DevIL-1.6.8.orig/src-ILU/src/ilu_filter.c 2006-08-16 04:18:21.000000000 -0500
+++ DevIL-1.6.8/src-ILU/src/ilu_filter.c 2008-04-23 00:35:16.000000000 -0500
@@ -1106,7 +1106,7 @@
//! Funny as hell filter that I stumbled upon accidentally
-ILboolean ILAPIENTRY iluAlienify(ILvoid)
+ILboolean ILAPIENTRY iluAlienify(void)
{
ILfloat Mat[3][3];
ILubyte *Data;
diff -ru DevIL-1.6.8.orig/src-ILUT/include/ilut_internal.h DevIL-1.6.8/src-ILUT/include/ilut_internal.h
--- DevIL-1.6.8.orig/src-ILUT/include/ilut_internal.h 2006-07-04 09:43:06.000000000 -0500
+++ DevIL-1.6.8/src-ILUT/include/ilut_internal.h 2008-04-23 00:35:19.000000000 -0500
@@ -43,7 +43,7 @@
extern ILimage *ilutCurImage;
-ILvoid ilutDefaultStates(ILvoid);
+ILvoid ilutDefaultStates(void);
// ImageLib Utility Toolkit's OpenGL Functions
|