[master] 52d8147 Make send_line static and drop prototype
Tollef Fog Heen
tfheen at varnish-cache.org
Wed Feb 20 09:17:56 CET 2013
commit 52d81477d1d7fb423770b7820a3bd86b65b636e8
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date: Wed Feb 20 09:06:34 2013 +0100
Make send_line static and drop prototype
diff --git a/bin/varnishadm/varnishadm.c b/bin/varnishadm/varnishadm.c
index bfcdf9d..ff44924 100644
--- a/bin/varnishadm/varnishadm.c
+++ b/bin/varnishadm/varnishadm.c
@@ -68,8 +68,6 @@
exit(status); \
} while (0)
-void send_line(char *l);
-
#else
#define RL_EXIT(status) exit(status)
#endif
@@ -185,7 +183,7 @@ do_args(int sock, int argc, char * const *argv)
* to have a global variable.
*/
static int _line_sock;
-void send_line(char *l)
+static void send_line(char *l)
{
if (l) {
cli_write(_line_sock, l);
More information about the varnish-commit
mailing list