A cleanup patch from Jeff Garzik to static-ify a number of

namespace polluting things that really should be static.
This commit is contained in:
Eric Andersen
2001-03-09 21:24:12 +00:00
parent dd91724aa0
commit 3e6ff9017f
48 changed files with 156 additions and 158 deletions

4
tail.c
View 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);