svn commit: r260848 - projects/elftoolchain/contrib/elftoolchain/libelf
Kai Wang
kaiw at FreeBSD.org
Sat Jan 18 10:13:05 UTC 2014
Author: kaiw
Date: Sat Jan 18 10:13:04 2014
New Revision: 260848
URL: http://svnweb.freebsd.org/changeset/base/260848
Log:
Apply r241720 by ed:
Fix warnings found by -Wmising-variable-declarations.
Modified:
projects/elftoolchain/contrib/elftoolchain/libelf/elf_errmsg.c
Modified: projects/elftoolchain/contrib/elftoolchain/libelf/elf_errmsg.c
==============================================================================
--- projects/elftoolchain/contrib/elftoolchain/libelf/elf_errmsg.c Sat Jan 18 06:14:38 2014 (r260847)
+++ projects/elftoolchain/contrib/elftoolchain/libelf/elf_errmsg.c Sat Jan 18 10:13:04 2014 (r260848)
@@ -38,7 +38,7 @@ ELFTC_VCSID("$Id: elf_errmsg.c 2225 2011
* 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"),
More information about the svn-src-projects
mailing list