Fix handling of permission addition and removal (e.g., o-r).
[oweals/busybox.git] / coreutils / tail.c
index a85256c807dce801c0f2d04e634f22cec9f312e2..ff77bde77e69b0ea206d9bea8a270cd850dd72a6 100644 (file)
@@ -44,14 +44,14 @@ static char *tailbuf;
 static int taillen;
 static int newline;
 
-void tailbuf_append(char *buf, int len)
+static void tailbuf_append(char *buf, int len)
 {
        tailbuf = xrealloc(tailbuf, taillen + len);
        memcpy(tailbuf + taillen, buf, len);
        taillen += len;
 }
 
-void tailbuf_trunc()
+static void tailbuf_trunc()
 {
        char *s;
        s = memchr(tailbuf, '\n', taillen);