From 880e042bb81ac78a186752f619516f20241b8aee Mon Sep 17 00:00:00 2001 From: russ Date: Wed, 19 May 2004 09:18:04 +0000 Subject: use busybox sysinfo struct git-svn-id: svn://busybox.net/trunk/busybox@8860 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- 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-55-g6feb