Update web page...
[oweals/busybox.git] / watchdog.c
index d297afa02bdecbfb1ffd89305d62c0bf75473a8e..f0b0ebd0ef12092cc48e509b3273391cd87a7d99 100644 (file)
  *
  */
 
-#include "busybox.h"
+/* getopt not needed */
+
 #include <stdio.h>
 #include <fcntl.h>
+#include <unistd.h>
+#include <stdlib.h>
+#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) {