Source-Changes-HG archive

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

[src/trunk]: src/sys/sys sigexit() calls either exit1() or panic() and never ...



details:   https://anonhg.NetBSD.org/src/rev/6fef2dcf20eb
branches:  trunk
changeset: 329205:6fef2dcf20eb
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Thu May 15 07:11:30 2014 +0000

description:
sigexit() calls either exit1() or panic() and never returns.  Mark it as
__dead.

diffstat:

 sys/sys/signalvar.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r c1677488848b -r 6fef2dcf20eb sys/sys/signalvar.h
--- a/sys/sys/signalvar.h       Thu May 15 06:58:19 2014 +0000
+++ b/sys/sys/signalvar.h       Thu May 15 07:11:30 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: signalvar.h,v 1.85 2014/01/01 18:57:16 dsl Exp $       */
+/*     $NetBSD: signalvar.h,v 1.86 2014/05/15 07:11:30 uebayasi Exp $  */
 
 /*
  * Copyright (c) 1991, 1993
@@ -130,7 +130,7 @@
 void   child_psignal(struct proc *, int);
 void   siginit(struct proc *);
 void   trapsignal(struct lwp *, struct ksiginfo *);
-void   sigexit(struct lwp *, int);
+void   sigexit(struct lwp *, int) __dead;
 void   killproc(struct proc *, const char *);
 void   setsigvec(struct proc *, int, struct sigaction *);
 int    killpg1(struct lwp *, struct ksiginfo *, int, int);



Home | Main Index | Thread Index | Old Index