find: improve usage text (Natanael Copa <natanael.copa@gmail.com>)
[oweals/busybox.git] / procps / uptime.c
index c1e7af3a5ed8318034b0774d87ac190f8c39eb1f..3573ffe73472fcbf651b91c3c19f4b01b3fd6c4b 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
  *
- * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
+ * Licensed under the GPL version 2, see the file LICENSE in this tarball.
  */
 
 /* This version of uptime doesn't display the number of users on the system,
 /* getopt not needed */
 
 #include "busybox.h"
-#include <stdio.h>
-#include <time.h>
-#include <errno.h>
-#include <stdlib.h>
 
 #ifndef FSHIFT
 # define FSHIFT 16              /* nr of bits of precision */
@@ -29,6 +25,7 @@
 #define LOAD_FRAC(x) LOAD_INT(((x) & (FIXED_1-1)) * 100)
 
 
+int uptime_main(int argc, char **argv);
 int uptime_main(int argc, char **argv)
 {
        int updays, uphours, upminutes;