* archival/bunzip2.c (bunzip2_main): Do not remove files if writing to standard
[oweals/busybox.git] / coreutils / yes.c
index 46873f3f969693ce01015ce72cb8db0b74d01365..7d9596d0bf72156b53426ec0013254a6fdd127a1 100644 (file)
  *
  */
 
-#include "busybox.h"
+/* getopt not needed */
+
 #include <stdio.h>
+#include <stdlib.h>
+#include "busybox.h"
 
 extern int yes_main(int argc, char **argv)
 {
        int i;
 
        if (argc >= 2 && *argv[1] == '-')
-               usage(yes_usage);
+               show_usage();
 
        if (argc == 1) {
                while (1)