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/misc/example | |
| parent | f97bd8894f2e6239f9c961d376e8794745b0a1fc (diff) | |
Remove all the __P
Diffstat (limited to 'sys/lkm/misc/example')
| -rw-r--r-- | sys/lkm/misc/example/example_misc.c | 6 | ||||
| -rw-r--r-- | sys/lkm/misc/example/lkminit_misc.c | 12 |
2 files changed, 9 insertions, 9 deletions
diff --git a/sys/lkm/misc/example/example_misc.c b/sys/lkm/misc/example/example_misc.c index dd37584c36c..7bd8bd1b332 100644 --- a/sys/lkm/misc/example/example_misc.c +++ b/sys/lkm/misc/example/example_misc.c @@ -33,17 +33,17 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $NetBSD: example_misc.c,v 1.4 2005/12/11 12:24:49 christos Exp $ + * $NetBSD: example_misc.c,v 1.5 2007/12/19 20:31:39 dsl Exp $ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: example_misc.c,v 1.4 2005/12/11 12:24:49 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: example_misc.c,v 1.5 2007/12/19 20:31:39 dsl Exp $"); #include <sys/param.h> #include <sys/ioctl.h> #include <sys/systm.h> -int misccall __P((struct lwp *, void *, register_t *)); +int misccall(struct lwp *, void *, register_t *); /* * This is the actual code for system call... it can be static because diff --git a/sys/lkm/misc/example/lkminit_misc.c b/sys/lkm/misc/example/lkminit_misc.c index e7bd7773063..efb7a09c871 100644 --- a/sys/lkm/misc/example/lkminit_misc.c +++ b/sys/lkm/misc/example/lkminit_misc.c @@ -1,4 +1,4 @@ -/* $NetBSD: lkminit_misc.c,v 1.6 2005/12/11 12:24:49 christos Exp $ */ +/* $NetBSD: lkminit_misc.c,v 1.7 2007/12/19 20:31:39 dsl Exp $ */ /* * Makefile for miscmod @@ -39,7 +39,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: lkminit_misc.c,v 1.6 2005/12/11 12:24:49 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: lkminit_misc.c,v 1.7 2007/12/19 20:31:39 dsl Exp $"); #include <sys/param.h> #include <sys/ioctl.h> @@ -53,10 +53,10 @@ __KERNEL_RCSID(0, "$NetBSD: lkminit_misc.c,v 1.6 2005/12/11 12:24:49 christos Ex #include <sys/syscall.h> -int misccall __P((struct lwp *, void *, register_t *)); -int misc_example_lkmentry __P((struct lkm_table *lkmtp, int, int)); +int misccall(struct lwp *, void *, register_t *); +int misc_example_lkmentry(struct lkm_table *lkmtp, int, int); -static int miscmod_handle __P((struct lkm_table *, int)); +static int miscmod_handle(struct lkm_table *, int); /* * These two entries define our system call and module information. We @@ -98,7 +98,7 @@ miscmod_handle( lkmtp, cmd) int i; struct lkm_misc *args = lkmtp->private.lkm_misc; int err = 0; /* default = success*/ - extern int sys_lkmnosys __P((struct lwp *, void *, register_t *)); + extern int sys_lkmnosys(struct lwp *, void *, register_t *); switch( cmd) { case LKM_E_LOAD: |
