aboutsummaryrefslogtreecommitdiff
path: root/signal
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-11-20 17:58:06 +0000
committerUlrich Drepper <drepper@redhat.com>2004-11-20 17:58:06 +0000
commitfc9b33c771f7a54499ae7f060595656474ba83d6 (patch)
tree9be93aefdd23668662a44ab7e0593204fc173562 /signal
parentef2bb4137e97a58204964299c2566b37705b7179 (diff)
downloadglibc-fc9b33c771f7a54499ae7f060595656474ba83d6.zip
glibc-fc9b33c771f7a54499ae7f060595656474ba83d6.tar.gz
glibc-fc9b33c771f7a54499ae7f060595656474ba83d6.tar.bz2
Update.
2004-11-20 Jakub Jelinek <jakub@redhat.com> * signal/signal.h (__sysv_signal, sysv_signal, signal, bsd_signal, ssignal): Remove __nonnull attribute. 2004-11-20 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/unix/sysv/linux/sh/sys/procfs.h: New file.
Diffstat (limited to 'signal')
-rw-r--r--signal/signal.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/signal/signal.h b/signal/signal.h
index cff2ebf..ed39328 100644
--- a/signal/signal.h
+++ b/signal/signal.h
@@ -78,10 +78,10 @@ typedef void (*__sighandler_t) (int);
the additional function `sysv_signal' when X/Open compatibility is
requested. */
extern __sighandler_t __sysv_signal (int __sig, __sighandler_t __handler)
- __THROW __nonnull ((2));
+ __THROW;
#ifdef __USE_GNU
extern __sighandler_t sysv_signal (int __sig, __sighandler_t __handler)
- __THROW __nonnull ((2));
+ __THROW;
#endif
/* Set the handler for the signal SIG to HANDLER, returning the old
@@ -90,13 +90,13 @@ extern __sighandler_t sysv_signal (int __sig, __sighandler_t __handler)
__BEGIN_NAMESPACE_STD
#ifdef __USE_BSD
extern __sighandler_t signal (int __sig, __sighandler_t __handler)
- __THROW __nonnull ((2));
+ __THROW;
#else
/* Make sure the used `signal' implementation is the SVID version. */
# ifdef __REDIRECT_NTH
extern __sighandler_t __REDIRECT_NTH (signal,
(int __sig, __sighandler_t __handler),
- __sysv_signal) __nonnull ((2));
+ __sysv_signal);
# else
# define signal __sysv_signal
# endif
@@ -107,7 +107,7 @@ __END_NAMESPACE_STD
/* The X/Open definition of `signal' conflicts with the BSD version.
So they defined another function `bsd_signal'. */
extern __sighandler_t bsd_signal (int __sig, __sighandler_t __handler)
- __THROW __nonnull ((2));
+ __THROW;
#endif
/* Send signal SIG to process number PID. If PID is zero,
@@ -132,7 +132,7 @@ __END_NAMESPACE_STD
#ifdef __USE_SVID
/* SVID names for the same things. */
extern __sighandler_t ssignal (int __sig, __sighandler_t __handler)
- __THROW __nonnull ((2));
+ __THROW;
extern int gsignal (int __sig) __THROW;
#endif /* Use SVID. */