diff options
Diffstat (limited to 'gdb/signame.c')
-rwxr-xr-x | gdb/signame.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/signame.c b/gdb/signame.c index 740da40..9a0c4ce 100755 --- a/gdb/signame.c +++ b/gdb/signame.c @@ -31,7 +31,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ static CONST char undoc[] = "unknown signal"; -CONST char *sys_siglist[NSIG]; +char *sys_siglist[NSIG]; #endif /* SYS_SIGLIST_MISSING */ /* Table of abbreviations for signals. Note: A given number can @@ -62,6 +62,8 @@ init_sig (number, abbrev, name) static void init_sigs () { #ifdef SYS_SIGLIST_MISSING + int i; + /* Initialize signal names. */ for (i = 0; i < NSIG; i++) sys_siglist[i] = undoc; |