summaryrefslogtreecommitdiff
path: root/tail.c
diff options
context:
space:
mode:
Diffstat (limited to 'tail.c')
-rw-r--r--tail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tail.c b/tail.c
index 90cc2a6..5e5fbc1 100644
--- a/tail.c
+++ b/tail.c
@@ -51,7 +51,7 @@ static void tailbuf_append(char *buf, int len)
taillen += len;
}
-static void tailbuf_trunc()
+static void tailbuf_trunc(void)
{
char *s;
s = memchr(tailbuf, '\n', taillen);