summaryrefslogtreecommitdiffstats
path: root/contrib/elftoolchain
diff options
context:
space:
mode:
authorkaiw <kaiw@FreeBSD.org>2014-01-18 17:47:06 +0000
committerkaiw <kaiw@FreeBSD.org>2014-01-18 17:47:06 +0000
commit3ec8bfd144c5e8ed4e3eb23e52cce6e8f24f1c1b (patch)
treee316865dcebfae830d433e707e4d87f9aefa0e22 /contrib/elftoolchain
parentc770f3b5359b9fa548d8ea3926e9bc828ca4e2df (diff)
downloadFreeBSD-src-3ec8bfd144c5e8ed4e3eb23e52cce6e8f24f1c1b.zip
FreeBSD-src-3ec8bfd144c5e8ed4e3eb23e52cce6e8f24f1c1b.tar.gz
Fix a warning in libdwarf found by -Wmissing-variable-declarations.
Diffstat (limited to 'contrib/elftoolchain')
-rw-r--r--contrib/elftoolchain/libdwarf/dwarf_errmsg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/elftoolchain/libdwarf/dwarf_errmsg.c b/contrib/elftoolchain/libdwarf/dwarf_errmsg.c
index 86afa28..16f8e4b 100644
--- a/contrib/elftoolchain/libdwarf/dwarf_errmsg.c
+++ b/contrib/elftoolchain/libdwarf/dwarf_errmsg.c
@@ -28,7 +28,7 @@
ELFTC_VCSID("$Id: dwarf_errmsg.c 2576 2012-09-13 09:16:11Z jkoshy $");
-const char *_libdwarf_errors[] = {
+static const char *_libdwarf_errors[] = {
#define DEFINE_ERROR(N,S) [DW_DLE_##N] = S
DEFINE_ERROR(NONE, "No Error"),
DEFINE_ERROR(ERROR, "An error"),
OpenPOWER on IntegriCloud