Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/svr4_32 const poisioning.



details:   https://anonhg.NetBSD.org/src/rev/4fbe35984e05
branches:  trunk
changeset: 552612:4fbe35984e05
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Sep 28 10:22:21 2003 +0000

description:
const poisioning.

diffstat:

 sys/compat/svr4_32/svr4_32_signal.c   |  6 +++---
 sys/compat/svr4_32/svr4_32_ucontext.h |  4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 2d3f9eeec47d -r 4fbe35984e05 sys/compat/svr4_32/svr4_32_signal.c
--- a/sys/compat/svr4_32/svr4_32_signal.c       Sun Sep 28 10:16:41 2003 +0000
+++ b/sys/compat/svr4_32/svr4_32_signal.c       Sun Sep 28 10:22:21 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: svr4_32_signal.c,v 1.9 2003/01/19 16:47:15 thorpej Exp $        */
+/*     $NetBSD: svr4_32_signal.c,v 1.10 2003/09/28 10:22:21 martin Exp $        */
 
 /*-
  * Copyright (c) 1994, 1998 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: svr4_32_signal.c,v 1.9 2003/01/19 16:47:15 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: svr4_32_signal.c,v 1.10 2003/09/28 10:22:21 martin Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_compat_svr4.h"
@@ -626,7 +626,7 @@
 svr4_32_getcontext(l, uc, mask)
        struct lwp *l;
        struct svr4_32_ucontext *uc;
-       sigset_t *mask;
+       const sigset_t *mask;
 {
        void *sp;
        struct svr4_32_sigaltstack *ss = &uc->uc_stack;
diff -r 2d3f9eeec47d -r 4fbe35984e05 sys/compat/svr4_32/svr4_32_ucontext.h
--- a/sys/compat/svr4_32/svr4_32_ucontext.h     Sun Sep 28 10:16:41 2003 +0000
+++ b/sys/compat/svr4_32/svr4_32_ucontext.h     Sun Sep 28 10:22:21 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: svr4_32_ucontext.h,v 1.2 2003/01/19 16:47:17 thorpej Exp $      */
+/*     $NetBSD: svr4_32_ucontext.h,v 1.3 2003/09/28 10:22:21 martin Exp $       */
 
 /*-
  * Copyright (c) 1994 The NetBSD Foundation, Inc.
@@ -77,7 +77,7 @@
 int svr4_32_setmcontext __P((struct lwp *, struct svr4_32_mcontext *, 
                             netbsd32_u_long));
 
-void svr4_32_getcontext __P((struct lwp *, struct svr4_32_ucontext *, sigset_t *));
+void svr4_32_getcontext __P((struct lwp *, struct svr4_32_ucontext *, const sigset_t *));
 int svr4_32_setcontext __P((struct lwp *, struct svr4_32_ucontext *));
 
 #endif /* !_SVR4_32_UCONTEXT_H_ */



Home | Main Index | Thread Index | Old Index