summaryrefslogtreecommitdiffstats
path: root/devel/glui/files/patch-example5.cpp
blob: d220bb08bcce11f5ae1a6bcd693980debdd48f24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- example5.cpp.orig	Sat Oct  5 12:39:00 2002
+++ example5.cpp	Sat Oct  5 12:39:35 2002
@@ -310,7 +310,7 @@
 
 /**************************************** main() ********************/
 
-void main(int argc, char* argv[])
+int main(int argc, char* argv[])
 {
   /****************************************/
   /*   Initialize GLUT and create window  */
@@ -478,5 +478,6 @@
   /**** Regular GLUT main loop ****/
   
   glutMainLoop();
+  return 0;
 }
 
OpenPOWER on IntegriCloud