r3107 - trunk/varnish-cache/lib/libvarnish
phk at projects.linpro.no
phk at projects.linpro.no
Tue Aug 19 11:35:28 CEST 2008
Author: phk
Date: 2008-08-19 11:35:28 +0200 (Tue, 19 Aug 2008)
New Revision: 3107
Modified:
trunk/varnish-cache/lib/libvarnish/num.c
Log:
Make error strings static
Modified: trunk/varnish-cache/lib/libvarnish/num.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/num.c 2008-08-19 09:34:44 UTC (rev 3106)
+++ trunk/varnish-cache/lib/libvarnish/num.c 2008-08-19 09:35:28 UTC (rev 3107)
@@ -39,10 +39,10 @@
#include <libvarnish.h>
-const char err_miss_num[] = "Missing number";
-const char err_invalid_num[] = "Invalid number";
-const char err_abs_req[] = "Absolute number required";
-const char err_invalid_suff[] = "Invalid suffix";
+static const char err_miss_num[] = "Missing number";
+static const char err_invalid_num[] = "Invalid number";
+static const char err_abs_req[] = "Absolute number required";
+static const char err_invalid_suff[] = "Invalid suffix";
const char *
str2bytes(const char *p, uintmax_t *r, uintmax_t rel)
More information about the varnish-commit
mailing list