diff options
author | Rob Landley | 2005-05-04 00:38:15 +0000 |
---|---|---|
committer | Rob Landley | 2005-05-04 00:38:15 +0000 |
commit | 8b80c71d70f6f063f01864d2363a235aa1d730cf (patch) | |
tree | caa49bdf0255fe00bbf30f6f1b69b0054b23522f /networking/udhcp/common.c | |
parent | 15d3f7f143127fa0a09cc6793ad5fba689cbc1a2 (diff) | |
download | busybox-8b80c71d70f6f063f01864d2363a235aa1d730cf.zip busybox-8b80c71d70f6f063f01864d2363a235aa1d730cf.tar.gz |
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.c')
-rw-r--r-- | networking/udhcp/common.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/networking/udhcp/common.c b/networking/udhcp/common.c index bf2ac44..6ca7371 100644 --- a/networking/udhcp/common.c +++ b/networking/udhcp/common.c @@ -37,14 +37,6 @@ static int daemonized; -long uptime(void) -{ - struct sysinfo info; - sysinfo(&info); - return info.uptime; -} - - /* * This function makes sure our first socket calls * aren't going to fd 1 (printf badness...) and are |