diff options
Diffstat (limited to 'src/printforward.c')
-rw-r--r-- | src/printforward.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/printforward.c b/src/printforward.c index ae5d26c..130bb03 100644 --- a/src/printforward.c +++ b/src/printforward.c @@ -7,17 +7,17 @@ #define WHO "printmaillist" -void badformat() +static void badformat() { logmsg(WHO, 100, FATAL, "bad database format"); } -void nomem() +static void nomem() { logmsg(WHO, 111, FATAL, "out of memory"); } -void getch(char *ch) +static void getch(char *ch) { int r; r = buffer_get(buffer_0small, ch, 1); @@ -25,17 +25,17 @@ void getch(char *ch) if (r == 0) badformat(); } -void out(char *ch) +static void out(char *ch) { if (buffer_put(buffer_1small, ch, 1) == -1) logmsg(WHO, 111, FATAL, "unable to write output"); } -void printbuf(char *buf) +static void printbuf(char *buf) { while (*buf) out(buf++); } -void printsafe(char *buf, int len) +static void printsafe(char *buf, int len) { char ch; |