freebsd-ports/devel/glui/files/patch-example4.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++

--- example4.cpp.orig Sat Oct 5 12:38:51 2002
+++ example4.cpp Sat Oct 5 12:39:16 2002
@@ -253,7 +253,7 @@
/**************************************** main() ********************/
-void main(int argc, char* argv[])
+int main(int argc, char* argv[])
{
/****************************************/
/* Initialize GLUT and create window */
@@ -371,5 +371,6 @@
/**** Regular GLUT main loop ****/
glutMainLoop();
+ return 0;
}