Fix a warning in libdwarf found by -Wmissing-variable-declarations.
This commit is contained in:
parent
35b270102d
commit
5371959e6f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/elftoolchain/; revision=260853
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
ELFTC_VCSID("$Id: dwarf_errmsg.c 2576 2012-09-13 09:16:11Z jkoshy $");
|
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 DEFINE_ERROR(N,S) [DW_DLE_##N] = S
|
||||||
DEFINE_ERROR(NONE, "No Error"),
|
DEFINE_ERROR(NONE, "No Error"),
|
||||||
DEFINE_ERROR(ERROR, "An error"),
|
DEFINE_ERROR(ERROR, "An error"),
|
||||||
|
Loading…
Reference in New Issue
Block a user