diff options
author | Rob Landley <rob@landley.net> | 2005-05-04 00:38:15 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2005-05-04 00:38:15 +0000 |
commit | 8b80c71d70f6f063f01864d2363a235aa1d730cf (patch) | |
tree | caa49bdf0255fe00bbf30f6f1b69b0054b23522f /networking/udhcp/common.h | |
parent | 15d3f7f143127fa0a09cc6793ad5fba689cbc1a2 (diff) | |
download | busybox-w32-8b80c71d70f6f063f01864d2363a235aa1d730cf.tar.gz busybox-w32-8b80c71d70f6f063f01864d2363a235aa1d730cf.tar.bz2 busybox-w32-8b80c71d70f6f063f01864d2363a235aa1d730cf.zip |
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.
Diffstat (limited to 'networking/udhcp/common.h')
-rw-r--r-- | networking/udhcp/common.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/networking/udhcp/common.h b/networking/udhcp/common.h index ca19a2497..cdc51cf8a 100644 --- a/networking/udhcp/common.h +++ b/networking/udhcp/common.h | |||
@@ -39,7 +39,6 @@ enum syslog_levels { | |||
39 | #include <syslog.h> | 39 | #include <syslog.h> |
40 | #endif | 40 | #endif |
41 | 41 | ||
42 | long uptime(void); | ||
43 | void background(const char *pidfile); | 42 | void background(const char *pidfile); |
44 | void start_log_and_pid(const char *client_server, const char *pidfile); | 43 | void start_log_and_pid(const char *client_server, const char *pidfile); |
45 | void background(const char *pidfile); | 44 | void background(const char *pidfile); |