mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-29 00:01:12 +00:00
2002-08-03 Roland McGrath <roland@redhat.com>
* include/signal.h: Use libc_hidden_proto for raise, sigemptyset, sigfillset, sigismember, __sigpause, __libc_current_sigrtmin, and __libc_current_sigrtmax. * signal/sigismem.c: Add libc_hidden_def. * signal/sigfillset.c: Likewise. * signal/sigempty.c: Likewise. * sysdeps/generic/sigpause.c (__sigpause): Likewise. * sysdeps/posix/sigpause.c (__sigpause): Likewise. * sysdeps/unix/bsd/osf/alpha/sigpause.S: Likewise.
This commit is contained in:
parent
5b070c7513
commit
5841dad9e3
@ -4,6 +4,14 @@
|
|||||||
#else
|
#else
|
||||||
# include <signal/signal.h>
|
# include <signal/signal.h>
|
||||||
|
|
||||||
|
libc_hidden_proto (raise)
|
||||||
|
libc_hidden_proto (sigemptyset)
|
||||||
|
libc_hidden_proto (sigfillset)
|
||||||
|
libc_hidden_proto (sigismember)
|
||||||
|
libc_hidden_proto (__sigpause)
|
||||||
|
libc_hidden_proto (__libc_current_sigrtmin)
|
||||||
|
libc_hidden_proto (__libc_current_sigrtmax)
|
||||||
|
|
||||||
/* Now define the internal interfaces. */
|
/* Now define the internal interfaces. */
|
||||||
extern __sighandler_t __bsd_signal (int __sig, __sighandler_t __handler);
|
extern __sighandler_t __bsd_signal (int __sig, __sighandler_t __handler);
|
||||||
extern int __kill (__pid_t __pid, int __sig);
|
extern int __kill (__pid_t __pid, int __sig);
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1991, 1996, 1997 Free Software Foundation, Inc.
|
/* Copyright (C) 1991,96,97,2002 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -35,3 +35,4 @@ sigemptyset (set)
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
libc_hidden_def (sigemptyset)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1991, 1996, 1997 Free Software Foundation, Inc.
|
/* Copyright (C) 1991,96,97,2002 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -35,3 +35,4 @@ sigfillset (set)
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
libc_hidden_def (sigfillset)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1991, 1996 Free Software Foundation, Inc.
|
/* Copyright (C) 1991,96,2002 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -32,3 +32,4 @@ sigismember (set, signo)
|
|||||||
|
|
||||||
return __sigismember (set, signo);
|
return __sigismember (set, signo);
|
||||||
}
|
}
|
||||||
|
libc_hidden_def (sigismember)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1991, 1995, 1996, 2000 Free Software Foundation, Inc.
|
/* Copyright (C) 1991,95,96,2000,02 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -28,7 +28,7 @@ __sigpause (sig_or_mask, is_sig)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
stub_warning (__sigpause)
|
stub_warning (__sigpause)
|
||||||
|
libc_hidden_def (__sigpause)
|
||||||
|
|
||||||
int
|
int
|
||||||
__default_sigpause (int mask)
|
__default_sigpause (int mask)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1991, 92, 1994-1998, 2000 Free Software Foundation, Inc.
|
/* Copyright (C) 1991,92,94-98,2000,02 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -53,7 +53,7 @@ __sigpause (int sig_or_mask, int is_sig)
|
|||||||
|
|
||||||
return __sigsuspend (&set);
|
return __sigsuspend (&set);
|
||||||
}
|
}
|
||||||
|
libc_hidden_def (__sigpause)
|
||||||
|
|
||||||
/* We have to provide a default version of this function since the
|
/* We have to provide a default version of this function since the
|
||||||
standards demand it. The version which is a bit more reasonable is
|
standards demand it. The version which is a bit more reasonable is
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1993, 1995, 1997 Free Software Foundation, Inc.
|
/* Copyright (C) 1993,95,97,2002 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Brendan Kehoe (brendan@zen.org).
|
Contributed by Brendan Kehoe (brendan@zen.org).
|
||||||
|
|
||||||
@ -25,5 +25,6 @@
|
|||||||
SYSCALL__ (sigpause, 1)
|
SYSCALL__ (sigpause, 1)
|
||||||
ret
|
ret
|
||||||
.end __sigpause
|
.end __sigpause
|
||||||
|
libc_hidden_def (__sigpause)
|
||||||
|
|
||||||
weak_alias (__sigpause, sigpause)
|
weak_alias (__sigpause, sigpause)
|
||||||
|
Loading…
Reference in New Issue
Block a user