diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2012-05-29 23:55:13 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2012-06-01 01:25:41 +0200 |
commit | 5be8418cb0856aff4de059802570eb12d558c91f (patch) | |
tree | 687b7a52c60eeeb66b8e25668953cd7e5b2919c0 /stdio-common/psignal.c | |
parent | 12e5e0f35770127bf8ab732b0c625821c4ab96b7 (diff) | |
download | glibc-5be8418cb0856aff4de059802570eb12d558c91f.tar.gz |
Remove use of INTDEF/INTUSE in stdio-common
Diffstat (limited to 'stdio-common/psignal.c')
-rw-r--r-- | stdio-common/psignal.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/stdio-common/psignal.c b/stdio-common/psignal.c index 23026f9b18..309803a978 100644 --- a/stdio-common/psignal.c +++ b/stdio-common/psignal.c @@ -1,5 +1,4 @@ -/* Copyright (C) 1991, 1992, 1995, 1996, 1997, 2001, 2002, 2004, 2005, 2009 - Free Software Foundation, Inc. +/* Copyright (C) 1991-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -22,12 +21,6 @@ #include <libintl.h> #include <wchar.h> - -/* Defined in sys_siglist.c. */ -extern const char *const _sys_siglist[]; -extern const char *const _sys_siglist_internal[] attribute_hidden; - - /* Print out on stderr a line consisting of the test in S, a colon, a space, a message describing the meaning of the signal number SIG and a newline. If S is NULL or "", the colon and space are omitted. */ @@ -41,7 +34,7 @@ psignal (int sig, const char *s) else colon = ": "; - if (sig >= 0 && sig < NSIG && (desc = INTUSE(_sys_siglist)[sig]) != NULL) + if (sig >= 0 && sig < NSIG && (desc = _sys_siglist[sig]) != NULL) (void) __fxprintf (NULL, "%s%s%s\n", s, colon, _(desc)); else { |