Source-Changes-HG archive

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

[src/trunk]: src/include don't put __libc_sigaction14 under __LIBC12_SOURCE__...



details:   https://anonhg.NetBSD.org/src/rev/edd9d41209ac
branches:  trunk
changeset: 551836:edd9d41209ac
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Sep 12 20:27:50 2003 +0000

description:
don't put __libc_sigaction14 under __LIBC12_SOURCE__. It is wrong, because
then we have to define __LIBC12_SOURCE__ from __sigaction14_sigtramp.c and
that has the side effect of redefining struct sigaction to the old one.

diffstat:

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

diffs (27 lines):

diff -r d14c4c4240d5 -r edd9d41209ac include/signal.h
--- a/include/signal.h  Fri Sep 12 20:01:14 2003 +0000
+++ b/include/signal.h  Fri Sep 12 20:27:50 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: signal.h,v 1.35 2003/09/11 14:04:50 christos Exp $     */
+/*     $NetBSD: signal.h,v 1.36 2003/09/12 20:27:50 christos Exp $     */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -59,6 +59,8 @@
 #if defined(_POSIX_C_SOURCE) || defined(_XOPEN_SOURCE) || \
     defined(_NETBSD_SOURCE)
 int    kill __P((pid_t, int));
+int    __libc_sigaction14 __P((int, const struct sigaction *,
+           struct sigaction *));
 
 #if (_POSIX_C_SOURCE - 0L) >= 199506L || (_XOPEN_SOURCE - 0) >= 500 || \
     defined(_NETBSD_SOURCE)
@@ -69,8 +71,6 @@
 #ifdef __LIBC12_SOURCE__
 int    sigaction __P((int, const struct sigaction13 *, struct sigaction13 *));
 int    __sigaction14 __P((int, const struct sigaction *, struct sigaction *));
-int    __libc_sigaction14 __P((int, const struct sigaction *,
-           struct sigaction *));
 int    sigaddset __P((sigset13_t *, int));
 int    __sigaddset14 __P((sigset_t *, int));
 int    sigdelset __P((sigset13_t *, int));



Home | Main Index | Thread Index | Old Index