[master] 6786c86 Nitpicking

Poul-Henning Kamp phk at FreeBSD.org
Wed Jan 25 10:46:05 CET 2017


commit 6786c86ba5f650c9790f3e185e0cd508bc5bddbd
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Jan 25 09:44:04 2017 +0000

    Nitpicking

diff --git a/bin/varnishtest/vtc.c b/bin/varnishtest/vtc.c
index 936fb7a..64ed594 100644
--- a/bin/varnishtest/vtc.c
+++ b/bin/varnishtest/vtc.c
@@ -579,7 +579,7 @@ cmd_shell(CMD_ARGS)
  * failing the test case otherwise.
  */
 
-void
+static void
 cmd_err_shell(CMD_ARGS)
 {
 	(void)priv;
diff --git a/bin/varnishtest/vtc.h b/bin/varnishtest/vtc.h
index 14f3340..a25d4ff 100644
--- a/bin/varnishtest/vtc.h
+++ b/bin/varnishtest/vtc.h
@@ -67,7 +67,6 @@ CMD(varnish);
 CMD(barrier);
 CMD(logexpect);
 CMD(process);
-CMD(err_shell);
 CMD(shell);
 #undef CMD
 
diff --git a/bin/varnishtest/vtc_process.c b/bin/varnishtest/vtc_process.c
index dc968a1..a258f54 100644
--- a/bin/varnishtest/vtc_process.c
+++ b/bin/varnishtest/vtc_process.c
@@ -147,7 +147,7 @@ process_delete(struct process *p)
 }
 
 static void
-process_undef(struct process *p)
+process_undef(const struct process *p)
 {
 	CHECK_OBJ_NOTNULL(p, PROCESS_MAGIC);
 



More information about the varnish-commit mailing list