summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale/lmessages.c
diff options
context:
space:
mode:
authorphantom <phantom@FreeBSD.org>2001-02-24 13:13:48 +0000
committerphantom <phantom@FreeBSD.org>2001-02-24 13:13:48 +0000
commitc33a989ee70faf329c549bc692f799e1631875a3 (patch)
treead6e065000937feb1ce7579e3e1b07eca97ad947 /lib/libc/locale/lmessages.c
parent7414b9d02e0924e249fa4a85728545ab4ed4b703 (diff)
downloadFreeBSD-src-c33a989ee70faf329c549bc692f799e1631875a3.zip
FreeBSD-src-c33a989ee70faf329c549bc692f799e1631875a3.tar.gz
Fix visibility of empty variable -- it should be static.
Submitted by: bde and Hartmut Brandt <brandt@fokus.gmd.de> (via PR) PR: bin/25308
Diffstat (limited to 'lib/libc/locale/lmessages.c')
-rw-r--r--lib/libc/locale/lmessages.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/locale/lmessages.c b/lib/libc/locale/lmessages.c
index 8342164..a9bdf5b 100644
--- a/lib/libc/locale/lmessages.c
+++ b/lib/libc/locale/lmessages.c
@@ -35,7 +35,7 @@
#define LCMESSAGES_SIZE_MIN \
(offsetof(struct lc_messages_T, yesstr) / sizeof(char *))
-char empty[] = "";
+static char empty[] = "";
static const struct lc_messages_T _C_messages_locale = {
"^[yY]" , /* yesexpr */
OpenPOWER on IntegriCloud