diff options
| author | drochner <drochner@NetBSD.org> | 2006-04-12 21:48:08 +0000 |
|---|---|---|
| committer | drochner <drochner@NetBSD.org> | 2006-04-12 21:48:08 +0000 |
| commit | 7b1c6fd9ffbaf3fb99ea46ae1199c06c7acef2ad (patch) | |
| tree | 6520219ace7b8eca94a916a6e11f7f35cb18fbb7 /lib/libarch | |
| parent | 176b72244c4fae065b9006cc0a6b2e836530b656 (diff) | |
second step to retire the useless i386_set_ioperm/i386_get_ioperm
calls: remove declarations from public headers
(it still needs to be built for binary compatibility; one might consider
establishing a separate "compat" department as libc does, but these
little wrapper functions aren't worth the effort yet)
Diffstat (limited to 'lib/libarch')
| -rw-r--r-- | lib/libarch/i386/i386_get_ioperm.c | 6 | ||||
| -rw-r--r-- | lib/libarch/i386/i386_set_ioperm.c | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/lib/libarch/i386/i386_get_ioperm.c b/lib/libarch/i386/i386_get_ioperm.c index ab1c4cd4449..b943e452416 100644 --- a/lib/libarch/i386/i386_get_ioperm.c +++ b/lib/libarch/i386/i386_get_ioperm.c @@ -1,4 +1,4 @@ -/* $NetBSD: i386_get_ioperm.c,v 1.4 1998/02/25 21:24:56 perry Exp $ */ +/* $NetBSD: i386_get_ioperm.c,v 1.5 2006/04/12 21:48:08 drochner Exp $ */ /*- * Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -41,6 +41,8 @@ #include <machine/sysarch.h> +int i386_get_ioperm(u_long *); + int i386_get_ioperm(iomap) u_long *iomap; @@ -49,5 +51,5 @@ i386_get_ioperm(iomap) p.iomap = iomap; - return sysarch(I386_GET_IOPERM, (void *)&p); + return sysarch(I386_GET_IOPERM, &p); } diff --git a/lib/libarch/i386/i386_set_ioperm.c b/lib/libarch/i386/i386_set_ioperm.c index 3919770a1a5..37e0c73ae31 100644 --- a/lib/libarch/i386/i386_set_ioperm.c +++ b/lib/libarch/i386/i386_set_ioperm.c @@ -1,4 +1,4 @@ -/* $NetBSD: i386_set_ioperm.c,v 1.4 1998/02/25 21:24:56 perry Exp $ */ +/* $NetBSD: i386_set_ioperm.c,v 1.5 2006/04/12 21:48:08 drochner Exp $ */ /*- * Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -41,6 +41,8 @@ #include <machine/sysarch.h> +int i386_set_ioperm(u_long *); + int i386_set_ioperm(iomap) u_long *iomap; @@ -49,5 +51,5 @@ i386_set_ioperm(iomap) p.iomap = iomap; - return sysarch(I386_SET_IOPERM, (void *)&p); + return sysarch(I386_SET_IOPERM, &p); } |
