Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/irix Catch up with const sigset_t. From Christoph...



details:   https://anonhg.NetBSD.org/src/rev/dc2364703209
branches:  trunk
changeset: 552605:dc2364703209
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sun Sep 28 08:11:47 2003 +0000

description:
Catch up with const sigset_t. From Christopher SEKIYA.

diffstat:

 sys/compat/irix/irix_signal.c |  14 +++++++-------
 sys/compat/irix/irix_signal.h |   4 ++--
 2 files changed, 9 insertions(+), 9 deletions(-)

diffs (75 lines):

diff -r f29a261e0bf1 -r dc2364703209 sys/compat/irix/irix_signal.c
--- a/sys/compat/irix/irix_signal.c     Sun Sep 28 07:45:14 2003 +0000
+++ b/sys/compat/irix/irix_signal.c     Sun Sep 28 08:11:47 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: irix_signal.c,v 1.25 2003/02/14 10:19:14 dsl Exp $ */
+/*     $NetBSD: irix_signal.c,v 1.26 2003/09/28 08:11:47 tsutsui Exp $ */
 
 /*-
  * Copyright (c) 1994, 2001-2002 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: irix_signal.c,v 1.25 2003/02/14 10:19:14 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: irix_signal.c,v 1.26 2003/09/28 08:11:47 tsutsui Exp $");
 
 #include <sys/types.h>
 #include <sys/signal.h>
@@ -76,9 +76,9 @@
     struct irix_irix5_siginfo *));
 static void irix_signal_siginfo __P((struct irix_irix5_siginfo *, 
     int, u_long, caddr_t));
-static void irix_set_ucontext __P((struct irix_ucontext*, sigset_t *, 
+static void irix_set_ucontext __P((struct irix_ucontext*, const sigset_t *, 
     int, struct lwp *));
-static void irix_set_sigcontext __P((struct irix_sigcontext*, sigset_t *, 
+static void irix_set_sigcontext __P((struct irix_sigcontext*, const sigset_t *, 
     int, struct lwp *));
 static void irix_get_ucontext __P((struct irix_ucontext*, struct lwp *));
 static void irix_get_sigcontext __P((struct irix_sigcontext*, struct lwp *));
@@ -262,7 +262,7 @@
 void
 irix_sendsig(sig, mask, code)
        int sig;
-       sigset_t *mask;
+       const sigset_t *mask;
        u_long code;
 {
        struct lwp *l = curlwp;
@@ -390,7 +390,7 @@
 static void 
 irix_set_sigcontext (scp, mask, code, l)
        struct irix_sigcontext *scp;
-       sigset_t *mask;
+       const sigset_t *mask;
        int code;
        struct lwp *l;
 {
@@ -447,7 +447,7 @@
 void 
 irix_set_ucontext(ucp, mask, code, l)
        struct irix_ucontext *ucp;
-       sigset_t *mask;
+       const sigset_t *mask;
        int code;
        struct lwp *l;
 {
diff -r f29a261e0bf1 -r dc2364703209 sys/compat/irix/irix_signal.h
--- a/sys/compat/irix/irix_signal.h     Sun Sep 28 07:45:14 2003 +0000
+++ b/sys/compat/irix/irix_signal.h     Sun Sep 28 08:11:47 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: irix_signal.h,v 1.12 2002/09/25 19:09:50 manu Exp $ */
+/*     $NetBSD: irix_signal.h,v 1.13 2003/09/28 08:11:47 tsutsui Exp $ */
 
 /*-
  * Copyright (c) 2001-2002 The NetBSD Foundation, Inc.
@@ -249,7 +249,7 @@
 void irix_to_native_sigset __P((const irix_sigset_t *, sigset_t *));
 
 
-void irix_sendsig __P((int, sigset_t *, u_long));
+void irix_sendsig __P((int, const sigset_t *, u_long));
 __END_DECLS
 #endif /* _KERNEL */
 



Home | Main Index | Thread Index | Old Index