diff options
| author | dsl <dsl@NetBSD.org> | 2007-12-19 20:31:35 +0000 |
|---|---|---|
| committer | dsl <dsl@NetBSD.org> | 2007-12-19 20:31:35 +0000 |
| commit | d975bc8ffaf41e64fe40f6ea7e8bba80f9d45f4d (patch) | |
| tree | e0a0f45d18b64fced80e05da434a2a10e9d364b6 /sys/lkm/syscall/example | |
| parent | f97bd8894f2e6239f9c961d376e8794745b0a1fc (diff) | |
Remove all the __P
Diffstat (limited to 'sys/lkm/syscall/example')
| -rw-r--r-- | sys/lkm/syscall/example/example_syscall.c | 6 | ||||
| -rw-r--r-- | sys/lkm/syscall/example/lkminit_syscall.c | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/lkm/syscall/example/example_syscall.c b/sys/lkm/syscall/example/example_syscall.c index 9637417a821..f20bd12e7e4 100644 --- a/sys/lkm/syscall/example/example_syscall.c +++ b/sys/lkm/syscall/example/example_syscall.c @@ -1,4 +1,4 @@ -/* $NetBSD: example_syscall.c,v 1.5 2005/12/11 12:24:49 christos Exp $ */ +/* $NetBSD: example_syscall.c,v 1.6 2007/12/19 20:31:39 dsl Exp $ */ /* * example_syscall.c @@ -37,13 +37,13 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: example_syscall.c,v 1.5 2005/12/11 12:24:49 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: example_syscall.c,v 1.6 2007/12/19 20:31:39 dsl Exp $"); #include <sys/param.h> #include <sys/ioctl.h> #include <sys/systm.h> -int example_syscall __P((struct lwp *, void *, register_t *)); +int example_syscall(struct lwp *, void *, register_t *); /* * This is the actual code for system call... it can be static because diff --git a/sys/lkm/syscall/example/lkminit_syscall.c b/sys/lkm/syscall/example/lkminit_syscall.c index 84cc678107f..ddc6a595429 100644 --- a/sys/lkm/syscall/example/lkminit_syscall.c +++ b/sys/lkm/syscall/example/lkminit_syscall.c @@ -1,4 +1,4 @@ -/* $NetBSD: lkminit_syscall.c,v 1.7 2005/12/11 12:24:49 christos Exp $ */ +/* $NetBSD: lkminit_syscall.c,v 1.8 2007/12/19 20:31:39 dsl Exp $ */ /* * Makefile for newsyscall @@ -38,7 +38,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: lkminit_syscall.c,v 1.7 2005/12/11 12:24:49 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: lkminit_syscall.c,v 1.8 2007/12/19 20:31:39 dsl Exp $"); #include <sys/param.h> #include <sys/ioctl.h> @@ -51,10 +51,10 @@ __KERNEL_RCSID(0, "$NetBSD: lkminit_syscall.c,v 1.7 2005/12/11 12:24:49 christos #include <sys/errno.h> -int example_syscall __P((struct lwp *, void *, register_t *)); -int syscall_example_lkmentry __P((struct lkm_table *, int, int)); +int example_syscall(struct lwp *, void *, register_t *); +int syscall_example_lkmentry(struct lkm_table *, int, int); -static int syscall_load __P((struct lkm_table *, int)); +static int syscall_load(struct lkm_table *, int); /* * These two entries define our system call and module information. We |
