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
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
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
|