diff options
author | John Gilmore <gnu@cygnus> | 1991-04-05 09:02:10 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1991-04-05 09:02:10 +0000 |
commit | 3f2e006b77f217bbf4a4cb9299cf248058a44ed3 (patch) | |
tree | 60b9a78e945e02698d856ea5b82982fe549b26f2 /gdb/signame.c | |
parent | 07d021a6ae8d3ed9da9f55c8623739e7a716308e (diff) | |
download | gdb-3f2e006b77f217bbf4a4cb9299cf248058a44ed3.zip gdb-3f2e006b77f217bbf4a4cb9299cf248058a44ed3.tar.gz gdb-3f2e006b77f217bbf4a4cb9299cf248058a44ed3.tar.bz2 |
*** empty log message ***
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; |