X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=Time%2Ffg_timer.c;h=06fc5afe553d5166fc77753c5db2b0cbc39ff596;hb=f1ec224b73dc81dc487836bbd45b6e21c10df0a5;hp=6e1a8a3fb550497a43e99027aa55bdb78af34562;hpb=a9fdc0e3415420bdfd2d90531447ddeb4390c2ad;p=flightgear.git diff --git a/Time/fg_timer.c b/Time/fg_timer.c index 6e1a8a3fb..06fc5afe5 100644 --- a/Time/fg_timer.c +++ b/Time/fg_timer.c @@ -44,7 +44,7 @@ unsigned long int fgSimTime; /* This routine catches the SIGALRM */ -void fgTimerCatch() { +void fgTimerCatch( void ) { /* ignore any SIGALRM's until we come back from our EOM iteration */ signal(SIGALRM, SIG_IGN); @@ -87,7 +87,7 @@ void fgTimerInit(float dt, void (*f)()) { /* This function returns the number of milleseconds since the last time it was called. */ -int fgGetTimeInterval() { +int fgGetTimeInterval( void ) { int interval; static int inited = 0; @@ -131,9 +131,13 @@ int fgGetTimeInterval() { /* $Log$ -/* Revision 1.7 1997/12/30 13:06:58 curt -/* A couple lighting tweaks ... +/* Revision 1.8 1998/01/19 18:40:39 curt +/* Tons of little changes to clean up the code and to remove fatal errors +/* when building with the c++ compiler. /* + * Revision 1.7 1997/12/30 13:06:58 curt + * A couple lighting tweaks ... + * * Revision 1.6 1997/07/12 02:13:04 curt * Add ftime() support for those that don't have gettimeofday() *