From: Ralph Corderoy Date: Sun, 12 Nov 2017 23:58:29 +0000 (+0000) Subject: popsbr.c: Add `static' to function definitions to match prototypes. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/8d87ebfaed45c07917a272c6ab56541341887545 popsbr.c: Add `static' to function definitions to match prototypes. parse_proxy(), command(), and multiline() all have prototypes claiming they're static in popsbr.c, but their later definitions lack that qualifier. --- diff --git a/uip/popsbr.c b/uip/popsbr.c index 02e10e6e..a692339e 100644 --- a/uip/popsbr.c +++ b/uip/popsbr.c @@ -85,7 +85,7 @@ check_mech(char *server_mechs, size_t server_mechs_size) * suitable for passing to exec. Returned array must be freed. Shouldn't * be possible to call this with host set to NULL. */ -char ** +static char ** parse_proxy(char *proxy, char *host) { char **pargv, **p; @@ -558,7 +558,7 @@ pop_done (void) } -int +static int command(const char *fmt, ...) { va_list ap; @@ -618,7 +618,7 @@ vcommand (const char *fmt, va_list ap) } -int +static int multiline (void) { char buffer[BUFSIZ + LEN(TRM)];