[Plib-cvs] plib/examples/src/ssg/viewer viewer.cxx,1.21,1.22
Brought to you by:
sjbaker
From: Sebastian U. <ud...@us...> - 2002-09-01 06:58:03
|
Update of /cvsroot/plib/plib/examples/src/ssg/viewer In directory usw-pr-cvs1:/tmp/cvs-serv6971/ssg/viewer Modified Files: viewer.cxx Log Message: Mac OS-X compatibility; Minor cleanups Index: viewer.cxx =================================================================== RCS file: /cvsroot/plib/plib/examples/src/ssg/viewer/viewer.cxx,v retrieving revision 1.21 retrieving revision 1.22 diff -u -d -r1.21 -r1.22 --- viewer.cxx 28 Dec 2001 23:12:56 -0000 1.21 +++ viewer.cxx 1 Sep 2002 06:57:59 -0000 1.22 @@ -17,13 +17,21 @@ #include <ctype.h> #include <string.h> #ifdef WIN32 -#include <windows.h> +# include <windows.h> #else -#include <unistd.h> +# include <unistd.h> #endif #include <math.h> [...254 lines suppressed...] puKeyboard ( key, PU_DOWN ) ; @@ -715,7 +723,7 @@ } } -void idle(void) +static void idle(void) { EyeEl += ElSpin; EyeAz += AzSpin; @@ -737,7 +745,7 @@ } } -void init_graphics () +static void init_graphics () { int fake_argc = 1 ; char *fake_argv[3] ; |