From 5c9323f4e6d5e1c619ff3ea0b30bf5e8e3a2b87a Mon Sep 17 00:00:00 2001 From: Russ Dill Date: Wed, 19 May 2004 09:18:04 +0000 Subject: use busybox sysinfo struct --- networking/udhcp/common.c | 1 - networking/udhcp/libbb_udhcp.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/networking/udhcp/common.c b/networking/udhcp/common.c index c5a24fc62..bf2ac4417 100644 --- a/networking/udhcp/common.c +++ b/networking/udhcp/common.c @@ -41,7 +41,6 @@ long uptime(void) { struct sysinfo info; sysinfo(&info); - printf("uptime %ld\n", (long)info.uptime); return info.uptime; } diff --git a/networking/udhcp/libbb_udhcp.h b/networking/udhcp/libbb_udhcp.h index ee85b156f..51e157142 100644 --- a/networking/udhcp/libbb_udhcp.h +++ b/networking/udhcp/libbb_udhcp.h @@ -31,6 +31,7 @@ #include #include +#include #define TRUE 1 #define FALSE 0 -- cgit v1.2.3