[master] 0113f8b Static-ize test-list.

Poul-Henning Kamp phk at varnish-cache.org
Tue Nov 12 23:58:44 CET 2013


commit 0113f8bb327733c1f310649a21ea20ee226b4c9b
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Nov 12 22:06:58 2013 +0000

    Static-ize test-list.

diff --git a/lib/libvarnish/vnum.c b/lib/libvarnish/vnum.c
index 605947e..7c27821 100644
--- a/lib/libvarnish/vnum.c
+++ b/lib/libvarnish/vnum.c
@@ -113,7 +113,7 @@ VNUM_2bytes(const char *p, uintmax_t *r, uintmax_t rel)
 #ifdef NUM_C_TEST
 /* Compile with: "cc -o foo -DNUM_C_TEST -I../.. -I../../include num.c -lm" */
 
-struct test_case {
+static struct test_case {
 	const char *str;
 	uintmax_t rel;
 	uintmax_t val;



More information about the varnish-commit mailing list