Source-Changes-HG archive

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

[src/trunk]: src/include Provide forward struct declarations for struct sigco...



details:   https://anonhg.NetBSD.org/src/rev/635b0af30999
branches:  trunk
changeset: 572370:635b0af30999
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Dec 31 18:06:16 2004 +0000

description:
Provide forward struct declarations for struct sigcontext*; this will allow
us to get rid of them in the machine/signal.h files.

diffstat:

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

diffs (25 lines):

diff -r 825b8d1f3dc8 -r 635b0af30999 include/signal.h
--- a/include/signal.h  Fri Dec 31 17:28:38 2004 +0000
+++ b/include/signal.h  Fri Dec 31 18:06:16 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: signal.h,v 1.39 2004/12/10 16:40:40 nathanw Exp $      */
+/*     $NetBSD: signal.h,v 1.40 2004/12/31 18:06:16 christos Exp $     */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -201,12 +201,15 @@
 #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



Home | Main Index | Thread Index | Old Index