From 4bcd20d70c8b33f19c7cb028f784c2ed9da1f8a2 Mon Sep 17 00:00:00 2001 From: uebayasi Date: Thu, 15 May 2014 07:11:30 +0000 Subject: [PATCH] sigexit() calls either exit1() or panic() and never returns. Mark it as __dead. --- sys/sys/signalvar.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/sys/signalvar.h b/sys/sys/signalvar.h index 029dba3177f1..655829b3dcfc 100644 --- a/sys/sys/signalvar.h +++ b/sys/sys/signalvar.h @@ -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 kpsignal(struct proc *, struct ksiginfo *, void *); 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);