Source-Changes-HG archive

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

[src/trunk]: src/include Remove the remains of "struct sigcontext" and sigret...



details:   https://anonhg.NetBSD.org/src/rev/0fbb051d1bfe
branches:  trunk
changeset: 573147:0fbb051d1bfe
user:      drochner <drochner%NetBSD.org@localhost>
date:      Thu Jan 20 20:42:05 2005 +0000

description:
Remove the remains of "struct sigcontext" and sigreturn() from the
user visible namespace.
These weren't supported interfaces for a while (it just happened to
work with COMPAT_16 kernels).
There are still internal uses in compat code and as jmp_buf format,
but this is all md code which uses <machine/signal.h>.
with christos' agreement

diffstat:

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

diffs (29 lines):

diff -r 517da83f243f -r 0fbb051d1bfe include/signal.h
--- a/include/signal.h  Thu Jan 20 20:40:00 2005 +0000
+++ b/include/signal.h  Thu Jan 20 20:42:05 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: signal.h,v 1.40 2004/12/31 18:06:16 christos Exp $     */
+/*     $NetBSD: signal.h,v 1.41 2005/01/20 20:42:05 drochner Exp $     */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -200,19 +200,6 @@
 void   psignal __P((unsigned int, const char *));
 #endif /* __PSIGNAL_DECLARED */
 int    sigblock __P((int));
-#ifdef __LIBC12_SOURCE__
-struct sigcontext13;
-int    sigreturn __P((struct sigcontext13 *));
-#ifndef __HAVE_SIGINFO
-struct sigcontext;
-int    __sigreturn14 __P((struct sigcontext *));
-#endif
-#else
-#ifndef __HAVE_SIGINFO
-struct sigcontext;
-int    sigreturn __P((struct sigcontext *)) __RENAME(__sigreturn14);
-#endif
-#endif
 int    sigsetmask __P((int));
 int    sigvec __P((int, struct sigvec *, struct sigvec *));
 #endif /* _NETBSD_SOURCE */



Home | Main Index | Thread Index | Old Index