Source-Changes-HG archive

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

[src/trunk]: src/sys Make kill1 public (we'll need it from compat/netbsd32)



details:   https://anonhg.NetBSD.org/src/rev/b5bad35b61f6
branches:  trunk
changeset: 338950:b5bad35b61f6
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Jun 19 10:18:19 2015 +0000

description:
Make kill1 public (we'll need it from compat/netbsd32)

diffstat:

 sys/kern/sys_sig.c |  7 +++----
 sys/sys/proc.h     |  3 ++-
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 1a24bed0e344 -r b5bad35b61f6 sys/kern/sys_sig.c
--- a/sys/kern/sys_sig.c        Fri Jun 19 08:03:35 2015 +0000
+++ b/sys/kern/sys_sig.c        Fri Jun 19 10:18:19 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sys_sig.c,v 1.43 2014/10/18 08:33:29 snj Exp $ */
+/*     $NetBSD: sys_sig.c,v 1.44 2015/06/19 10:18:19 martin Exp $      */
 
 /*-
  * Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sys_sig.c,v 1.43 2014/10/18 08:33:29 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sys_sig.c,v 1.44 2015/06/19 10:18:19 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -211,8 +211,7 @@
        return 0;
 }
 
-
-static int
+int
 kill1(struct lwp *l, pid_t pid, ksiginfo_t *ksi, register_t *retval)
 {
        int error;
diff -r 1a24bed0e344 -r b5bad35b61f6 sys/sys/proc.h
--- a/sys/sys/proc.h    Fri Jun 19 08:03:35 2015 +0000
+++ b/sys/sys/proc.h    Fri Jun 19 10:18:19 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: proc.h,v 1.321 2015/03/07 16:34:55 christos Exp $      */
+/*     $NetBSD: proc.h,v 1.322 2015/06/19 10:18:19 martin Exp $        */
 
 /*-
  * Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -475,6 +475,7 @@
 void   wakeup(wchan_t);
 int    kpause(const char *, bool, int, kmutex_t *);
 void   exit1(struct lwp *, int) __dead;
+int    kill1(struct lwp *l, pid_t pid, ksiginfo_t *ksi, register_t *retval);
 int    do_sys_wait(int *, int *, int, struct rusage *);
 struct proc *proc_alloc(void);
 void   proc0_init(void);



Home | Main Index | Thread Index | Old Index