X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=watchdog.c;h=f0b0ebd0ef12092cc48e509b3273391cd87a7d99;hb=044228d5ecb9b79397f9fc915d046cf4538281e2;hp=d297afa02bdecbfb1ffd89305d62c0bf75473a8e;hpb=ffde8673fe8b2c32076aa3e01eab1fefc5f08e86;p=oweals%2Fbusybox.git diff --git a/watchdog.c b/watchdog.c index d297afa02..f0b0ebd0e 100644 --- a/watchdog.c +++ b/watchdog.c @@ -20,16 +20,20 @@ * */ -#include "busybox.h" +/* getopt not needed */ + #include #include +#include +#include +#include "busybox.h" extern int watchdog_main(int argc, char **argv) { int fd; if (argc != 2) { - usage(watchdog_usage); + show_usage(); } if ((fd=open(argv[1], O_WRONLY)) == -1) {