summaryrefslogtreecommitdiff
path: root/devel/glui/files/patch-example1.cpp
blob: 84d540e31a84628331a105e62a7ed55a4d9b353c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- example1.cpp.orig	Sat Oct  5 12:36:47 2002
+++ example1.cpp	Sat Oct  5 12:37:20 2002
@@ -85,7 +85,7 @@
 
 /**************************************** main() ********************/
 
-void main(int argc, char* argv[])
+int main(int argc, char* argv[])
 {
   /****************************************/
   /*   Initialize GLUT and create window  */
@@ -136,6 +136,7 @@
   GLUI_Master.set_glutIdleFunc( myGlutIdle ); 
 
   glutMainLoop();
+  return 0;
 }