From a65193d5b159668ce23ff42d7b44cae3b1c06bd6 Mon Sep 17 00:00:00 2001 From: jhb Date: Mon, 6 May 2002 15:46:29 +0000 Subject: - Style fixes in some comments. - Whitespace nit. - Sort some includes. Submitted by: bde (mostly) --- sys/kern/kern_exit.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'sys/kern/kern_exit.c') diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c index 0422fa0..9c5fb9a 100644 --- a/sys/kern/kern_exit.c +++ b/sys/kern/kern_exit.c @@ -53,8 +53,8 @@ #include #include #include -#include #include +#include #include #include #include @@ -66,8 +66,8 @@ #include #include -#include #include +#include #include #include #include @@ -139,10 +139,11 @@ exit1(td, rv) panic("Going nowhere without my init!"); } -/* XXXXKSE */ -/* MUST abort all other threads before proceeding past this point */ + /* + * XXXXKSE: MUST abort all other threads before proceeding past here. + */ - /* are we a task leader? */ + /* Are we a task leader? */ PROC_LOCK(p); if (p == p->p_leader) { q = p->p_peers; @@ -376,7 +377,7 @@ exit1(td, rv) ruadd(p->p_ru, &p->p_stats->p_cru); /* - * notify interested parties of our demise. + * Notify interested parties of our demise. */ KNOTE(&p->p_klist, NOTE_EXIT); @@ -450,7 +451,7 @@ exit1(td, rv) #ifdef COMPAT_43 /* - * MPSAFE, the dirty work is handled by wait1(). + * MPSAFE. The dirty work is handled by wait1(). */ int owait(td, uap) @@ -470,7 +471,7 @@ owait(td, uap) #endif /* COMPAT_43 */ /* - * MPSAFE, the dirty work is handled by wait1(). + * MPSAFE. The dirty work is handled by wait1(). */ int wait4(td, uap) @@ -778,7 +779,7 @@ rm_at_exit(function) if (ep->function == function) { TAILQ_REMOVE(&exit_list, ep, next); free(ep, M_ATEXIT); - return(1); + return (1); } } return (0); -- cgit v1.1