summaryrefslogtreecommitdiff
path: root/games/brutalchess/bc_gcc4.2.diff
blob: 79a725881cdc3ece82757fca2beaa1ceb05480b0 (plain)
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
--- a/src/md3view.cpp
+++ b/src/md3view.cpp
@@ -72,7 +72,7 @@
 	exit( returnCode );
 }
 
-int initGL( GLvoid );
+int initGL( void );
 // function to reset our viewport after a window resize
 int resizeWindow( int width, int height )
 {
@@ -108,7 +108,7 @@
 
 
 // general OpenGL initialization function
-int initGL( GLvoid )
+int initGL( void )
 {
 	cout << "Initializing OpenGL" << endl;
 	// Enable smooth shading
--- a/src/objview.cpp
+++ b/src/objview.cpp
@@ -73,7 +73,7 @@
 	exit( returnCode );
 }
 
-int initGL( GLvoid );
+int initGL( void );
 // function to reset our viewport after a window resize
 int resizeWindow( int width, int height )
 {
@@ -109,7 +109,7 @@
 
 
 // general OpenGL initialization function
-int initGL( GLvoid )
+int initGL( void )
 {
 	cout << "Initializing OpenGL" << endl;
 	// Enable smooth shading
@@ -158,7 +158,7 @@
 }
 
 // Here goes our drawing code
-int drawGLScene( GLvoid )
+int drawGLScene( void )
 {
 	// These are to calculate our fps
 	static GLint T0     = 0;