summaryrefslogtreecommitdiffstats
path: root/contrib/elftoolchain
diff options
context:
space:
mode:
authorkaiw <kaiw@FreeBSD.org>2014-01-18 10:13:04 +0000
committerkaiw <kaiw@FreeBSD.org>2014-01-18 10:13:04 +0000
commitc770f3b5359b9fa548d8ea3926e9bc828ca4e2df (patch)
tree12c4686e58d3c9f1fe2690217ff93579760bd592 /contrib/elftoolchain
parent844d940ffdf08ae04801d9ebf19acd5e3d15c7a1 (diff)
downloadFreeBSD-src-c770f3b5359b9fa548d8ea3926e9bc828ca4e2df.zip
FreeBSD-src-c770f3b5359b9fa548d8ea3926e9bc828ca4e2df.tar.gz
Apply r241720 by ed:
Fix warnings found by -Wmising-variable-declarations.
Diffstat (limited to 'contrib/elftoolchain')
-rw-r--r--contrib/elftoolchain/libelf/elf_errmsg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/elftoolchain/libelf/elf_errmsg.c b/contrib/elftoolchain/libelf/elf_errmsg.c
index adcaa74..20ee55f 100644
--- a/contrib/elftoolchain/libelf/elf_errmsg.c
+++ b/contrib/elftoolchain/libelf/elf_errmsg.c
@@ -38,7 +38,7 @@ ELFTC_VCSID("$Id: elf_errmsg.c 2225 2011-11-26 18:55:54Z jkoshy $");
* Retrieve a human readable translation for an error message.
*/
-const char *_libelf_errors[] = {
+static const char *_libelf_errors[] = {
#define DEFINE_ERROR(N,S) [ELF_E_##N] = S
DEFINE_ERROR(NONE, "No Error"),
DEFINE_ERROR(ARCHIVE, "Malformed ar(1) archive"),
OpenPOWER on IntegriCloud