Fix handling of '' and "".
[oweals/busybox.git] / head.c
diff --git a/head.c b/head.c
index a2d7744376944d352269ba1183eed0e9f935c134..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;