blob: bef9d489d1ce6891744c7482c7b137163b34c12e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--- example2.cpp.orig Sat Oct 5 12:37:42 2002
+++ example2.cpp Sat Oct 5 12:38:06 2002
@@ -181,7 +181,7 @@
/**************************************** main() ********************/
-void main(int argc, char* argv[])
+int main(int argc, char* argv[])
{
/****************************************/
/* Initialize GLUT and create window */
@@ -244,4 +244,5 @@
GLUI_Master.set_glutIdleFunc( myGlutIdle );
glutMainLoop();
+ return 0;
}
|