[master] e0842f5 Fix build failures

Tollef Fog Heen tfheen at varnish-cache.org
Tue Mar 15 13:57:38 CET 2011


commit e0842f52bbdc5c2af197399f661c5c1b4f117454
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date:   Tue Mar 15 13:57:04 2011 +0100

    Fix build failures
    
    Get rid of a unused variable, add a missing prototype

diff --git a/bin/varnishadm/varnishadm.c b/bin/varnishadm/varnishadm.c
index 4f3d013..3c5c7d3 100644
--- a/bin/varnishadm/varnishadm.c
+++ b/bin/varnishadm/varnishadm.c
@@ -56,6 +56,9 @@ SVNID("$Id$")
 		rl_callback_handler_remove(); \
 		exit(status); \
 	} while (0)
+
+void send_line(char *l);
+
 #else
 #define RL_EXIT(status) exit(status)
 #endif
@@ -193,7 +196,7 @@ pass(int sock)
 {
 	struct pollfd fds[2];
 	char buf[1024];
-	int i, n;
+	int i;
 	char *answer = NULL;
 	unsigned u, status;
 



More information about the varnish-commit mailing list