*
*/
-#include "busybox.h"
#include <fcntl.h>
#include <getopt.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
+#include "busybox.h"
static const struct suffix_mult tail_suffixes[] = {
{ "b", 512 },
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);