[4.1] ac13bad Correct prototypes

Federico G. Schwindt fgsch at lodoss.net
Fri Sep 4 15:54:52 CEST 2015


commit ac13bad3970e0ec0a39ffe8ae14a481ee9e544f0
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Mon Aug 3 09:53:35 2015 +0100

    Correct prototypes

diff --git a/bin/varnishd/mgt/mgt_acceptor.c b/bin/varnishd/mgt/mgt_acceptor.c
index a956b27..f0e9a21 100644
--- a/bin/varnishd/mgt/mgt_acceptor.c
+++ b/bin/varnishd/mgt/mgt_acceptor.c
@@ -118,7 +118,7 @@ struct mac_help {
 	enum sess_step		first_step;
 };
 
-static int __match_proto__(vss_resolver_f)
+static int __match_proto__(vss_resolved_f)
 mac_callback(void *priv, const struct suckaddr *sa)
 {
 	struct mac_help *mh;
diff --git a/bin/varnishd/mgt/mgt_cli.c b/bin/varnishd/mgt/mgt_cli.c
index f618d5c..da3cf69 100644
--- a/bin/varnishd/mgt/mgt_cli.c
+++ b/bin/varnishd/mgt/mgt_cli.c
@@ -524,7 +524,7 @@ mgt_cli_secret(const char *S_arg)
 	secret_file = S_arg;
 }
 
-static int __match_proto__(vss_resolver_f)
+static int __match_proto__(vss_resolved_f)
 mct_callback(void *priv, const struct suckaddr *sa)
 {
 	int sock;



More information about the varnish-commit mailing list