[master] 95cc31e Staticize
Poul-Henning Kamp
phk at FreeBSD.org
Mon Aug 14 13:21:06 CEST 2017
commit 95cc31e09b5f8c42fdc9aa74ada946a8ab328f22
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Mon Aug 14 11:18:33 2017 +0000
Staticize
diff --git a/lib/libvarnishapi/vjsn.c b/lib/libvarnishapi/vjsn.c
index 6ae82fa..10a8faf 100644
--- a/lib/libvarnishapi/vjsn.c
+++ b/lib/libvarnishapi/vjsn.c
@@ -545,7 +545,7 @@ vjsn_dump(const struct vjsn *js, FILE *fo)
*/
-const char *good[] = {
+static const char *good[] = {
"\x5b\x31\x32\x33\x65\x36\x35\x5d",
"\x5b\x5b\x5d\x20\x20\x20\x5d",
"\x5b\x22\x22\x5d",
@@ -680,7 +680,7 @@ const char *good[] = {
"\x20\x5b\x5d\x20",
NULL
};
-const char *bad[] = {
+static const char *bad[] = {
"\x5b\x31\x20\x74\x72\x75\x65\x5d",
"\x5b\x61\xe5\x5d",
"\x5b\x22\x22\x3a\x20\x31\x5d",
More information about the varnish-commit
mailing list