[Plib-cvs] plib/examples/src/ssg/state_test stest.cxx,1.2,1.3
Brought to you by:
sjbaker
From: Sebastian U. <ud...@us...> - 2002-09-01 06:58:03
|
Update of /cvsroot/plib/plib/examples/src/ssg/state_test In directory usw-pr-cvs1:/tmp/cvs-serv6971/ssg/state_test Modified Files: stest.cxx Log Message: Mac OS-X compatibility; Minor cleanups Index: stest.cxx =================================================================== RCS file: /cvsroot/plib/plib/examples/src/ssg/state_test/stest.cxx,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- stest.cxx 20 Dec 2001 15:52:17 -0000 1.2 +++ stest.cxx 1 Sep 2002 06:57:59 -0000 1.3 @@ -3,24 +3,33 @@ #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> #include <plib/ssg.h> [...63 lines suppressed...] int fake_argc = 1 ; char *fake_argv[3] ; @@ -141,7 +150,7 @@ -ssgEntity *make_herring () +static ssgEntity *make_herring () { big_red_switch = new ssgStateSelector ( 2 ) ; @@ -240,7 +249,7 @@ Load a simple database */ -void load_database () +static void load_database () { /* Set up the path to the data files |