Revert the uptime() removal. Let the list sort it out...

This commit is contained in:
Rob Landley
2005-05-04 02:15:23 +00:00
parent 8b80c71d70
commit 918f2ab3d7
4 changed files with 14 additions and 5 deletions

View File

@@ -37,6 +37,14 @@
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