aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Wang <kaiw@FreeBSD.org>2014-01-18 10:13:04 +0000
committerKai Wang <kaiw@FreeBSD.org>2014-01-18 10:13:04 +0000
commit35b270102d64340b65fecf616890634b09abad18 (patch)
tree12c4686e58d3c9f1fe2690217ff93579760bd592
parentaedbdd2c5c797e69fc5eb39ccf83d434126f2cd7 (diff)
Apply r241720 by ed:
Fix warnings found by -Wmising-variable-declarations.
Notes
Notes: svn path=/projects/elftoolchain/; revision=260848
-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 adcaa74b29ba..20ee55fa60b5 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"),