[3.0] 29fc35d Make send_line static and drop prototype

Tollef Fog Heen tfheen at varnish-cache.org
Mon Apr 22 13:27:01 CEST 2013


commit 29fc35d711db6477008f3783ccd75f3dfcec80a9
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 1787d8e..0dd15ec 100644
--- a/bin/varnishadm/varnishadm.c
+++ b/bin/varnishadm/varnishadm.c
@@ -61,8 +61,6 @@
 		exit(status); \
 	} while (0)
 
-void send_line(char *l);
-
 #else
 #define RL_EXIT(status) exit(status)
 #endif
@@ -178,7 +176,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