Fix a warning in libdwarf found by -Wmissing-variable-declarations.

This commit is contained in:
Kai Wang 2014-01-18 17:47:06 +00:00
parent 35b270102d
commit 5371959e6f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/elftoolchain/; revision=260853

View file

@ -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"),