Note that insmod now also supports powerpc and mips. Thanks Larry.
[oweals/busybox.git] / head.c
diff --git a/head.c b/head.c
index 7d87f32cbad815e20fde56cf1080dbb4ffd2adf1..0c8ef3d5907b8f020b90a7780c964fe281c4e905 100644 (file)
--- a/head.c
+++ b/head.c
  *
  */
 
-#include "busybox.h"
 #include <errno.h>
 #include <stdio.h>
 #include <getopt.h>
 #include <stdlib.h>
+#include <string.h>
+#include "busybox.h"
 
-int head(int len, FILE *fp)
+static int head(int len, FILE *fp)
 {
        int i;
        char *input;
@@ -57,7 +58,7 @@ int head_main(int argc, char **argv)
                                break;
                        /* fallthrough */
                default:
-                       usage(head_usage);
+                       show_usage();
                }
        }