aboutsummaryrefslogtreecommitdiff
path: root/gdb/signame.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1991-04-20 01:02:34 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1991-04-20 01:02:34 +0000
commitff8aef1993a779f1f57288b3ba7a0fadeb0501ae (patch)
tree48720c6664fd1097afdebe3f59763ec35c4c6065 /gdb/signame.c
parentab8f22a975deb90b2b369f18c21b0b00d9d4eff5 (diff)
downloadgdb-ff8aef1993a779f1f57288b3ba7a0fadeb0501ae.zip
gdb-ff8aef1993a779f1f57288b3ba7a0fadeb0501ae.tar.gz
gdb-ff8aef1993a779f1f57288b3ba7a0fadeb0501ae.tar.bz2
signame.c: Change #ifdef SYS_SIGLIST_MISSING to #if.
param-no-tm.h: Define SYS_SIGLIST_MISSING from USG.
Diffstat (limited to 'gdb/signame.c')
-rwxr-xr-xgdb/signame.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/signame.c b/gdb/signame.c
index 9a0c4ce..4db5860 100755
--- a/gdb/signame.c
+++ b/gdb/signame.c
@@ -25,7 +25,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define CONST
#endif
-#ifdef SYS_SIGLIST_MISSING
+#if SYS_SIGLIST_MISSING
/* There is too much variation in Sys V signal numbers and names, so
we must initialize them at runtime. */
@@ -52,7 +52,7 @@ init_sig (number, abbrev, name)
CONST char *abbrev;
CONST char *name;
{
-#ifdef SYS_SIGLIST_MISSING
+#if SYS_SIGLIST_MISSING
sys_siglist[number] = name;
#endif
sig_table[sig_table_nelts].number = number;
@@ -61,7 +61,7 @@ init_sig (number, abbrev, name)
static void init_sigs ()
{
-#ifdef SYS_SIGLIST_MISSING
+#if SYS_SIGLIST_MISSING
int i;
/* Initialize signal names. */
@@ -226,7 +226,7 @@ sig_number (abbrev)
return -1;
}
-#if defined (SYS_SIGLIST_MISSING)
+#if SYS_SIGLIST_MISSING
/* Print to standard error the name of SIGNAL, preceded by MESSAGE and
a colon, and followed by a newline. */
void
@@ -239,7 +239,7 @@ psignal (signal, message)
else
fprintf (stderr, "%s: %s\n", message, sys_siglist[signal]);
}
-#endif
+#endif /* SYS_SIGLIST_MISSING */
void
_initialize_signame ()