1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/devel/glui/files/patch-example5.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

19 lines
466 B
C++

--- 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;
}