From 5be8418cb0856aff4de059802570eb12d558c91f Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Tue, 29 May 2012 23:55:13 +0200 Subject: Remove use of INTDEF/INTUSE in stdio-common --- stdio-common/psignal.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'stdio-common/psignal.c') 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 #include - -/* 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 { -- cgit v1.2.3