summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-07-25 16:03:15 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-07-25 16:03:15 +0000
commiteb3cd537ef8d1191b11fdbe9ef454268ab8ffee1 (patch)
treea608987d9fba5528ab1073aca22a7597129731fd /sys/kern
parent0953bae8ccacf7cc9392aff932b918a36a41f198 (diff)
Random cleanups that generate noise in my cvs updates.
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_descrip.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/kern/kern_descrip.c b/sys/kern/kern_descrip.c
index 6b154784f43..f0ffb26ea44 100644
--- a/sys/kern/kern_descrip.c
+++ b/sys/kern/kern_descrip.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_descrip.c,v 1.32 2001/06/27 04:49:41 art Exp $ */
+/* $OpenBSD: kern_descrip.c,v 1.33 2001/07/25 16:03:14 art Exp $ */
/* $NetBSD: kern_descrip.c,v 1.42 1996/03/30 22:24:38 christos Exp $ */
/*
@@ -226,8 +226,8 @@ sys_dup2(p, v, retval)
syscallarg(u_int) from;
syscallarg(u_int) to;
} */ *uap = v;
- register struct filedesc *fdp = p->p_fd;
- register int old = SCARG(uap, from), new = SCARG(uap, to);
+ struct filedesc *fdp = p->p_fd;
+ int old = SCARG(uap, from), new = SCARG(uap, to);
int i, error;
if ((u_int)old >= fdp->fd_nfiles || fdp->fd_ofiles[old] == NULL ||
@@ -259,14 +259,14 @@ sys_fcntl(p, v, retval)
void *v;
register_t *retval;
{
- register struct sys_fcntl_args /* {
+ struct sys_fcntl_args /* {
syscallarg(int) fd;
syscallarg(int) cmd;
syscallarg(void *) arg;
} */ *uap = v;
int fd = SCARG(uap, fd);
- register struct filedesc *fdp = p->p_fd;
- register struct file *fp;
+ struct filedesc *fdp = p->p_fd;
+ struct file *fp;
struct vnode *vp;
int i, tmp, error, flg = F_POSIX;
struct flock fl;