summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-08-26 00:15:04 +0000
committerbde <bde@FreeBSD.org>1997-08-26 00:15:04 +0000
commit35a98c3590a8365432483d4e3ed5bc5e8f8ed604 (patch)
tree5f554015948faf4e982624d12bc77e9cc85e4816 /sys/kern
parent6fcfc89b8c1c3972921e2a3f60ac5b5891f7e05d (diff)
downloadFreeBSD-src-35a98c3590a8365432483d4e3ed5bc5e8f8ed604.zip
FreeBSD-src-35a98c3590a8365432483d4e3ed5bc5e8f8ed604.tar.gz
Fixed some gratuitous ANSIisms.
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_exit.c10
-rw-r--r--sys/kern/kern_fork.c10
-rw-r--r--sys/kern/kern_physio.c15
3 files changed, 21 insertions, 14 deletions
diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c
index f0365f0..9b568a3 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 13c6c51..f5a59a3 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 bfa7c01..ac60e66 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));
OpenPOWER on IntegriCloud