mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
Remove use of INTDEF/INTUSE in stdio-common
This commit is contained in:
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user