--- src/usr.sbin/rtsold/dump.c 2005/02/17 14:00:10 1.5 +++ src/usr.sbin/rtsold/dump.c 2005/12/05 00:56:37 1.6 @@ -57,7 +57,7 @@ static char *sec2str(time_t); const char *ifstatstr[] = {"IDLE", "DELAY", "PROBE", "DOWN", "TENTATIVE"}; static void -dump_interface_status() +dump_interface_status(void) { struct ifinfo *ifinfo; struct timeval now; @@ -111,8 +111,7 @@ rtsold_dump_file(const char *dumpfile) } static char * -sec2str(total) - time_t total; +sec2str(time_t total) { static char result[256]; int days, hours, mins, secs;