diff options
author | Bruce Evans <bde@FreeBSD.org> | 1997-08-26 00:15:04 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 1997-08-26 00:15:04 +0000 |
commit | eb776aea1921fb8300dc62df582d351fc3750a54 (patch) | |
tree | a357e940f2f2a9055a62773f6d124fa96d5af783 | |
parent | 32545fd1083552564b9f5230c392c72278030b6f (diff) |
Notes
-rw-r--r-- | sys/kern/kern_exit.c | 10 | ||||
-rw-r--r-- | sys/kern/kern_fork.c | 10 | ||||
-rw-r--r-- | sys/kern/kern_physio.c | 15 |
3 files changed, 21 insertions, 14 deletions
diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c index f0365f06332ba..9b568a354a17b 100644 --- a/sys/kern/kern_exit.c +++ b/sys/kern/kern_exit.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)kern_exit.c 8.7 (Berkeley) 2/12/94 - * $Id: kern_exit.c,v 1.51 1997/07/17 04:49:27 dyson Exp $ + * $Id: kern_exit.c,v 1.52 1997/08/21 20:33:38 bde Exp $ */ #include "opt_ktrace.h" @@ -547,7 +547,8 @@ proc_reparent(child, parent) * returns 0 on success. */ int -at_exit(exitlist_fn function) +at_exit(function) + exitlist_fn function; { ele_p ep; @@ -568,7 +569,8 @@ at_exit(exitlist_fn function) * Logically this can only be 0 or 1. */ int -rm_at_exit(exitlist_fn function) +rm_at_exit(function) + exitlist_fn function; { ele_p *epp, ep; int count; @@ -588,5 +590,3 @@ rm_at_exit(exitlist_fn function) } return (count); } - - diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c index 13c6c5111fa5f..f5a59a3bb0033 100644 --- a/sys/kern/kern_fork.c +++ b/sys/kern/kern_fork.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)kern_fork.c 8.6 (Berkeley) 4/8/94 - * $Id: kern_fork.c,v 1.45 1997/07/06 02:40:41 dyson Exp $ + * $Id: kern_fork.c,v 1.46 1997/08/22 15:10:00 peter Exp $ */ #include "opt_ktrace.h" @@ -457,7 +457,8 @@ again: * Returns 0 on success or a standard error number. */ int -at_fork(forklist_fn function) +at_fork(function) + forklist_fn function; { fle_p ep; @@ -479,7 +480,8 @@ at_fork(forklist_fn function) * Theoretically this value can only be 0 or 1. */ int -rm_at_fork(forklist_fn function) +rm_at_fork(function) + forklist_fn function; { fle_p *epp, ep; int count; @@ -499,5 +501,3 @@ rm_at_fork(forklist_fn function) } return (count); } - - diff --git a/sys/kern/kern_physio.c b/sys/kern/kern_physio.c index bfa7c0111ca89..ac60e66d61f36 100644 --- a/sys/kern/kern_physio.c +++ b/sys/kern/kern_physio.c @@ -16,7 +16,7 @@ * 4. Modifications may be freely made to this file if the above conditions * are met. * - * $Id: kern_physio.c,v 1.19 1997/02/22 09:39:08 peter Exp $ + * $Id: kern_physio.c,v 1.20 1997/08/09 10:13:17 dyson Exp $ */ #include <sys/param.h> @@ -166,7 +166,8 @@ doerror: } u_int -minphys(struct buf *bp) +minphys(bp) + struct buf *bp; { u_int maxphys = MAXPHYS; @@ -181,14 +182,20 @@ minphys(struct buf *bp) } int -rawread(dev_t dev, struct uio *uio, int ioflag) +rawread(dev, uio, ioflag) + dev_t dev; + struct uio *uio; + int ioflag; { return (physio(cdevsw[major(dev)]->d_strategy, (struct buf *)NULL, dev, 1, minphys, uio)); } int -rawwrite(dev_t dev, struct uio *uio, int ioflag) +rawwrite(dev, uio, ioflag) + dev_t dev; + struct uio *uio; + int ioflag; { return (physio(cdevsw[major(dev)]->d_strategy, (struct buf *)NULL, dev, 0, minphys, uio)); |