summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_descrip.c
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-03-19 21:25:46 +0000
committeralfred <alfred@FreeBSD.org>2002-03-19 21:25:46 +0000
commit357e37e023059920b1f80494e489797e2f69a3dd (patch)
tree7ea68f3b5c452a55df6c05b903dae3ac1e8f71f9 /sys/kern/kern_descrip.c
parentca2e5c188ee68045b54a86bfefcfd4a75e174221 (diff)
downloadFreeBSD-src-357e37e023059920b1f80494e489797e2f69a3dd.zip
FreeBSD-src-357e37e023059920b1f80494e489797e2f69a3dd.tar.gz
Remove __P.
Diffstat (limited to 'sys/kern/kern_descrip.c')
-rw-r--r--sys/kern/kern_descrip.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/sys/kern/kern_descrip.c b/sys/kern/kern_descrip.c
index 4e6d283..24187c6 100644
--- a/sys/kern/kern_descrip.c
+++ b/sys/kern/kern_descrip.c
@@ -94,16 +94,16 @@ static struct cdevsw fildesc_cdevsw = {
/* flags */ 0,
};
-static int do_dup __P((struct filedesc *fdp, int old, int new, register_t *retval, struct thread *td));
-static int badfo_readwrite __P((struct file *fp, struct uio *uio,
- struct ucred *cred, int flags, struct thread *td));
-static int badfo_ioctl __P((struct file *fp, u_long com, caddr_t data,
- struct thread *td));
-static int badfo_poll __P((struct file *fp, int events,
- struct ucred *cred, struct thread *td));
-static int badfo_kqfilter __P((struct file *fp, struct knote *kn));
-static int badfo_stat __P((struct file *fp, struct stat *sb, struct thread *td));
-static int badfo_close __P((struct file *fp, struct thread *td));
+static int do_dup(struct filedesc *fdp, int old, int new, register_t *retval, struct thread *td);
+static int badfo_readwrite(struct file *fp, struct uio *uio,
+ struct ucred *cred, int flags, struct thread *td);
+static int badfo_ioctl(struct file *fp, u_long com, caddr_t data,
+ struct thread *td);
+static int badfo_poll(struct file *fp, int events,
+ struct ucred *cred, struct thread *td);
+static int badfo_kqfilter(struct file *fp, struct knote *kn);
+static int badfo_stat(struct file *fp, struct stat *sb, struct thread *td);
+static int badfo_close(struct file *fp, struct thread *td);
/*
* Descriptor management.
@@ -2106,7 +2106,7 @@ badfo_close(fp, td)
SYSINIT(fildescdev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE+CDEV_MAJOR,
fildesc_drvinit,NULL)
-static void filelistinit __P((void *));
+static void filelistinit(void *);
SYSINIT(select, SI_SUB_LOCK, SI_ORDER_FIRST, filelistinit, NULL)
/* ARGSUSED*/
OpenPOWER on IntegriCloud