Fix return code and don't output spurious newlines.
[oweals/busybox.git] / head.c
diff --git a/head.c b/head.c
index fac9ec659b2165ad6001170972092236c82b02c6..0c8ef3d5907b8f020b90a7780c964fe281c4e905 100644 (file)
--- a/head.c
+++ b/head.c
@@ -29,7 +29,7 @@
 #include <string.h>
 #include "busybox.h"
 
-int head(int len, FILE *fp)
+static int head(int len, FILE *fp)
 {
        int i;
        char *input;