|
From: Joshua P. <jpr...@us...> - 2004-08-04 06:17:48
|
Update of /cvsroot/middle-man/middleman/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24311/src Modified Files: main.c stats.c Log Message: make gcc-3.4.1 happy Index: stats.c =================================================================== RCS file: /cvsroot/middle-man/middleman/src/stats.c,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** stats.c 11 Mar 2004 22:27:16 -0000 1.9 --- stats.c 4 Aug 2004 06:17:37 -0000 1.10 *************** *** 176,180 **** sc.name = stat; sc.type = type | StatCounter::CALLBACK; ! (void *)sc.value.callback = (void *)cb; counter_list.push_back(sc); --- 176,180 ---- sc.name = stat; sc.type = type | StatCounter::CALLBACK; ! sc.value.callback = (stat_callback_t)cb; counter_list.push_back(sc); *************** *** 194,198 **** sc.name = stat; sc.type = type | StatCounter::CALLBACK; ! (void *)sc.value.callback = (void *)cb; counter_list.push_back(sc); --- 194,198 ---- sc.name = stat; sc.type = type | StatCounter::CALLBACK; ! sc.value.callback = (stat_callback_t)cb; counter_list.push_back(sc); Index: main.c =================================================================== RCS file: /cvsroot/middle-man/middleman/src/main.c,v retrieving revision 1.215 retrieving revision 1.216 diff -C2 -d -r1.215 -r1.216 *** main.c 4 Aug 2004 06:05:58 -0000 1.215 --- main.c 4 Aug 2004 06:17:37 -0000 1.216 *************** *** 415,422 **** void config() { ! int i, x; time_t t, curtime = time(NULL); struct tm tt; - char buf[1024]; gmtime_r(&curtime, &tt); --- 415,421 ---- void config() { ! int i; time_t t, curtime = time(NULL); struct tm tt; gmtime_r(&curtime, &tt); |