Patch from Shaun Jackman:

Replace uptime with time(NULL). time is more portable than uptime and
eliminates the need to define uptime, reducing code size slightly.
This commit is contained in:
Rob Landley
2005-05-04 00:38:15 +00:00
parent 15d3f7f143
commit 8b80c71d70
4 changed files with 5 additions and 14 deletions

View File

@@ -39,7 +39,6 @@ enum syslog_levels {
#include <syslog.h>
#endif
long uptime(void);
void background(const char *pidfile);
void start_log_and_pid(const char *client_server, const char *pidfile);
void background(const char *pidfile);