Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys namespace protect sigqueue and sigqueueinfo



details:   https://anonhg.NetBSD.org/src/rev/c811ddc67ba0
branches:  trunk
changeset: 760658:c811ddc67ba0
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Jan 10 13:56:44 2011 +0000

description:
namespace protect sigqueue and sigqueueinfo

diffstat:

 sys/sys/signal.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 2955a514c620 -r c811ddc67ba0 sys/sys/signal.h
--- a/sys/sys/signal.h  Mon Jan 10 13:45:57 2011 +0000
+++ b/sys/sys/signal.h  Mon Jan 10 13:56:44 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: signal.h,v 1.66 2011/01/10 04:38:37 christos Exp $     */
+/*     $NetBSD: signal.h,v 1.67 2011/01/10 13:56:44 christos Exp $     */
 
 /*
  * Copyright (c) 1982, 1986, 1989, 1991, 1993
@@ -235,7 +235,11 @@
  */
 __BEGIN_DECLS
 void   (*signal(int, void (*)(int)))(int);
+#if (_POSIX_C_SOURCE - 0) >= 200112L || defined(_NETBSD_SOURCE)
 int    sigqueue(pid_t, int, const union sigval);
+#endif
+#if defined(_NETBSD_SOURCE)
 int    sigqueueinfo(pid_t, const siginfo_t *);
+#endif
 __END_DECLS
 #endif /* !_SYS_SIGNAL_H_ */



Home | Main Index | Thread Index | Old Index