/* getopt not needed */
-#include "busybox.h"
+#include "libbb.h"
#ifndef FSHIFT
# define FSHIFT 16 /* nr of bits of precision */
#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) MAIN_EXTERNALLY_VISIBLE;
+int uptime_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
{
int updays, uphours, upminutes;
struct sysinfo info;
upminutes = (int) info.uptime / 60;
uphours = (upminutes / 60) % 24;
upminutes %= 60;
- if(uphours)
+ if (uphours)
printf("%2d:%02d, ", uphours, upminutes);
else
printf("%d min, ", upminutes);