0f2064ac79
PR: 43717 Submitted by: Craig Rodrigues <rodrigc@attbi.com>
19 lines
475 B
C++
19 lines
475 B
C++
--- 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;
|
|
}
|
|
|
|
|