]> err.no Git - varnish/commitdiff
Make error strings static
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 19 Aug 2008 09:35:28 +0000 (09:35 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 19 Aug 2008 09:35:28 +0000 (09:35 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3107 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/lib/libvarnish/num.c

index d5d2d3606b70b843ae582dd8fd139895466ca4b8..2c201d2af16de9abff2064567d7b2368ca6dade2 100644 (file)
 
 #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)