1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

Remove use of INTDEF/INTUSE in stdio-common

This commit is contained in:
Andreas Schwab
2012-05-29 23:55:13 +02:00
parent 12e5e0f357
commit 5be8418cb0
12 changed files with 54 additions and 66 deletions

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1991, 1994-2002, 2005 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,10 +22,6 @@
#include <libintl.h>
#include <bits/libc-lock.h>
/* Defined in siglist.c. */
extern const char *const _sys_siglist[];
extern const char *const _sys_siglist_internal[] attribute_hidden;
static __libc_key_t key;
/* If nonzero the key allocation failed and we should better use a
@ -55,7 +51,7 @@ strsignal (int signum)
(signum >= SIGRTMIN && signum <= SIGRTMAX) ||
#endif
signum < 0 || signum >= NSIG
|| (desc = INTUSE(_sys_siglist)[signum]) == NULL)
|| (desc = _sys_siglist[signum]) == NULL)
{
char *buffer = getbuffer ();
int len;