View | Details | Raw Unified | Return to bug 43717
Collapse All | Expand All

(-)glui/files/patch-ac (+30 lines)
Line 0 Link Here
1
--- glui.h.orig	Sat Oct  5 12:33:27 2002
2
+++ glui.h	Sat Oct  5 12:34:09 2002
3
@@ -295,8 +295,8 @@
4
     parent_node= child_head = child_tail = next_sibling = prev_sibling = NULL;
5
   }; 
6
 
7
-  friend GLUI_Rollout;
8
-  friend GLUI_Main;
9
+  friend class GLUI_Rollout;
10
+  friend class GLUI_Main;
11
 };
12
 
13
 
14
@@ -559,11 +559,11 @@
15
 
16
   /********** Friend classes *************/
17
 
18
-  friend GLUI_Control;
19
-  friend GLUI_Rotation;
20
-  friend GLUI_Translation;
21
-  friend GLUI;
22
-  friend GLUI_Master_Object;
23
+  friend class GLUI_Control;
24
+  friend class GLUI_Rotation;
25
+  friend class GLUI_Translation;
26
+  friend class GLUI;
27
+  friend class GLUI_Master_Object;
28
 
29
 
30
   /********** Misc functions *************/
(-)glui/files/patch-ad (+19 lines)
Line 0 Link Here
1
--- example1.cpp.orig	Sat Oct  5 12:36:47 2002
2
+++ example1.cpp	Sat Oct  5 12:37:20 2002
3
@@ -85,7 +85,7 @@
4
 
5
 /**************************************** main() ********************/
6
 
7
-void main(int argc, char* argv[])
8
+int main(int argc, char* argv[])
9
 {
10
   /****************************************/
11
   /*   Initialize GLUT and create window  */
12
@@ -136,6 +136,7 @@
13
   GLUI_Master.set_glutIdleFunc( myGlutIdle ); 
14
 
15
   glutMainLoop();
16
+  return 0;
17
 }
18
 
19
 
(-)glui/files/patch-ae (+17 lines)
Line 0 Link Here
1
--- example2.cpp.orig	Sat Oct  5 12:37:42 2002
2
+++ example2.cpp	Sat Oct  5 12:38:06 2002
3
@@ -181,7 +181,7 @@
4
 
5
 /**************************************** main() ********************/
6
 
7
-void main(int argc, char* argv[])
8
+int main(int argc, char* argv[])
9
 {
10
   /****************************************/
11
   /*   Initialize GLUT and create window  */
12
@@ -244,4 +244,5 @@
13
   GLUI_Master.set_glutIdleFunc( myGlutIdle );
14
 
15
   glutMainLoop();
16
+  return 0;
17
 }
(-)glui/files/patch-af (+18 lines)
Line 0 Link Here
1
--- example3.cpp.orig	Sat Oct  5 12:42:22 2002
2
+++ example3.cpp	Sat Oct  5 12:42:39 2002
3
@@ -263,7 +263,7 @@
4
 
5
 /**************************************** main() ********************/
6
 
7
-void main(int argc, char* argv[])
8
+int main(int argc, char* argv[])
9
 {
10
   /****************************************/
11
   /*   Initialize GLUT and create window  */
12
@@ -392,5 +392,6 @@
13
 
14
   /**** Regular GLUT main loop ****/  
15
   glutMainLoop();
16
+  return 0;
17
 }
18
 
(-)glui/files/patch-ag (+18 lines)
Line 0 Link Here
1
--- example4.cpp.orig	Sat Oct  5 12:38:51 2002
2
+++ example4.cpp	Sat Oct  5 12:39:16 2002
3
@@ -253,7 +253,7 @@
4
 
5
 /**************************************** main() ********************/
6
 
7
-void main(int argc, char* argv[])
8
+int main(int argc, char* argv[])
9
 {
10
   /****************************************/
11
   /*   Initialize GLUT and create window  */
12
@@ -371,5 +371,6 @@
13
   /**** Regular GLUT main loop ****/
14
   
15
   glutMainLoop();
16
+  return 0;
17
 }
18
 
(-)glui/files/patch-ah (+18 lines)
Line 0 Link Here
1
--- example5.cpp.orig	Sat Oct  5 12:39:00 2002
2
+++ example5.cpp	Sat Oct  5 12:39:35 2002
3
@@ -310,7 +310,7 @@
4
 
5
 /**************************************** main() ********************/
6
 
7
-void main(int argc, char* argv[])
8
+int main(int argc, char* argv[])
9
 {
10
   /****************************************/
11
   /*   Initialize GLUT and create window  */
12
@@ -478,5 +478,6 @@
13
   /**** Regular GLUT main loop ****/
14
   
15
   glutMainLoop();
16
+  return 0;
17
 }
18

Return to bug 43717