From: phk Date: Tue, 19 Aug 2008 09:35:28 +0000 (+0000) Subject: Make error strings static X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=588a8f23ba4f24ddc2679aed2623b21d56d6853c;p=varnish Make error strings static git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3107 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/lib/libvarnish/num.c b/varnish-cache/lib/libvarnish/num.c index d5d2d360..2c201d2a 100644 --- a/varnish-cache/lib/libvarnish/num.c +++ b/varnish-cache/lib/libvarnish/num.c @@ -39,10 +39,10 @@ #include -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)