freebsd-ports/devel/glui/files/patch-example3.cpp
Tilman Keskinoz 0f2064ac79 Fix Build on -CURRENT
PR:		43717
Submitted by:	Craig Rodrigues <rodrigc@attbi.com>
2002-11-28 19:01:17 +00:00

18 lines
466 B
C++

--- example3.cpp.orig Sat Oct 5 12:42:22 2002
+++ example3.cpp Sat Oct 5 12:42:39 2002
@@ -263,7 +263,7 @@
/**************************************** main() ********************/
-void main(int argc, char* argv[])
+int main(int argc, char* argv[])
{
/****************************************/
/* Initialize GLUT and create window */
@@ -392,5 +392,6 @@
/**** Regular GLUT main loop ****/
glutMainLoop();
+ return 0;
}