summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2000-09-17 15:23:10 +0000
committerbde <bde@FreeBSD.org>2000-09-17 15:23:10 +0000
commitcb16f04f5df020842df077b1d1cbfe2b7352cf09 (patch)
tree53594ce024b40ae5540100c1d970ad3224fb6720
parent43da3c7d5337f1a4e9e85852abb81dff5ef9e733 (diff)
downloadFreeBSD-src-cb16f04f5df020842df077b1d1cbfe2b7352cf09.zip
FreeBSD-src-cb16f04f5df020842df077b1d1cbfe2b7352cf09.tar.gz
Declare sigexit() as non-returning.
Fixed some style bugs.
-rw-r--r--sys/sys/signalvar.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/sys/signalvar.h b/sys/sys/signalvar.h
index d60114f..1021ab9 100644
--- a/sys/sys/signalvar.h
+++ b/sys/sys/signalvar.h
@@ -34,7 +34,7 @@
* $FreeBSD$
*/
-#ifndef _SYS_SIGNALVAR_H_ /* tmp for user.h */
+#ifndef _SYS_SIGNALVAR_H_
#define _SYS_SIGNALVAR_H_
#include <sys/signal.h>
@@ -110,7 +110,7 @@ typedef void __osiginfohandler_t __P((int, osiginfo_t *, void *));
do { \
int __i; \
for (__i = 0; __i < _SIG_WORDS; __i++) \
- (set).__bits[__i] = ~(unsigned int)0; \
+ (set).__bits[__i] = ~0U; \
} while (0)
#define SIGISMEMBER(set, signo) \
@@ -206,7 +206,7 @@ void pgsigio __P((struct sigio *, int signum, int checkctty));
void pgsignal __P((struct pgrp *pgrp, int sig, int checkctty));
void postsig __P((int sig));
void psignal __P((struct proc *p, int sig));
-void sigexit __P((struct proc *p, int signum));
+void sigexit __P((struct proc *p, int signum)) __dead2;
void siginit __P((struct proc *p));
void trapsignal __P((struct proc *p, int sig, u_long code));
@@ -215,6 +215,6 @@ void trapsignal __P((struct proc *p, int sig, u_long code));
*/
void sendsig __P((sig_t action, int sig, sigset_t *retmask, u_long code));
-#endif /* _KERNEL */
+#endif /* _KERNEL */
-#endif /* !_SYS_SIGNALVAR_H_ */
+#endif /* !_SYS_SIGNALVAR_H_ */
OpenPOWER on IntegriCloud