diff options
author | jlemon <jlemon@FreeBSD.org> | 1998-07-28 15:22:51 +0000 |
---|---|---|
committer | jlemon <jlemon@FreeBSD.org> | 1998-07-28 15:22:51 +0000 |
commit | f3f6e5cc3945b8c3f93b94b3ae0713754d5d9150 (patch) | |
tree | 915e11f002e15582e250b9e49135900f5fd91bde | |
parent | 02fba0b1e7fb9e72dcb794438942165a036eb985 (diff) | |
download | FreeBSD-src-f3f6e5cc3945b8c3f93b94b3ae0713754d5d9150.zip FreeBSD-src-f3f6e5cc3945b8c3f93b94b3ae0713754d5d9150.tar.gz |
u_int --> unsigned int, remove (now unneeded) <sys/types.h>
-rw-r--r-- | lib/libc/i386/sys/i386_get_ioperm.2 | 6 | ||||
-rw-r--r-- | lib/libc/i386/sys/i386_get_ioperm.c | 11 | ||||
-rw-r--r-- | lib/libc/i386/sys/i386_set_ioperm.c | 11 | ||||
-rw-r--r-- | sys/amd64/include/sysarch.h | 6 | ||||
-rw-r--r-- | sys/i386/include/sysarch.h | 6 |
5 files changed, 19 insertions, 21 deletions
diff --git a/lib/libc/i386/sys/i386_get_ioperm.2 b/lib/libc/i386/sys/i386_get_ioperm.2 index 4fc7593..7d3c7f6 100644 --- a/lib/libc/i386/sys/i386_get_ioperm.2 +++ b/lib/libc/i386/sys/i386_get_ioperm.2 @@ -22,7 +22,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id$ +.\" $Id: i386_get_ioperm.2,v 1.1 1998/07/28 03:39:02 jlemon Exp $ .\" .Dd July 27, 1998 .Os @@ -34,9 +34,9 @@ .Sh SYNOPSIS .Fd #include <machine/sysarch.h> .Ft int -.Fn i386_get_ioperm "u_int start" "u_int *length" "int *enable" +.Fn i386_get_ioperm "unsigned int start" "unsigned int *length" "int *enable" .Ft int -.Fn i386_set_ioperm "u_int start" "u_int length" "int enable" +.Fn i386_set_ioperm "unsigned int start" "unsigned int length" "int enable" .Sh DESCRIPTION .Fn i386_get_ioperm will return the permission for the process' I/O port space in the diff --git a/lib/libc/i386/sys/i386_get_ioperm.c b/lib/libc/i386/sys/i386_get_ioperm.c index 75793b4..2504b2c 100644 --- a/lib/libc/i386/sys/i386_get_ioperm.c +++ b/lib/libc/i386/sys/i386_get_ioperm.c @@ -23,24 +23,23 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: i386_get_ioperm.c,v 1.1 1998/07/28 03:39:03 jlemon Exp $ */ #if defined(LIBC_RCS) && !defined(lint) -static const char rcsid[] = "$Id$"; +static const char rcsid[] = "$Id: i386_get_ioperm.c,v 1.1 1998/07/28 03:39:03 jlemon Exp $"; #endif /* LIBC_RCS and not lint */ -#include <sys/types.h> #include <machine/sysarch.h> struct parms { - u_int start; - u_int length; + unsigned int start; + unsigned int length; int enable; }; int -i386_get_ioperm(u_int start, u_int *length, int *enable) +i386_get_ioperm(unsigned int start, unsigned int *length, int *enable) { struct parms p; int error; diff --git a/lib/libc/i386/sys/i386_set_ioperm.c b/lib/libc/i386/sys/i386_set_ioperm.c index 9b5bcd0..11f4caa 100644 --- a/lib/libc/i386/sys/i386_set_ioperm.c +++ b/lib/libc/i386/sys/i386_set_ioperm.c @@ -23,24 +23,23 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: i386_set_ioperm.c,v 1.1 1998/07/28 03:39:03 jlemon Exp $ */ #if defined(LIBC_RCS) && !defined(lint) -static const char rcsid[] = "$Id$"; +static const char rcsid[] = "$Id: i386_set_ioperm.c,v 1.1 1998/07/28 03:39:03 jlemon Exp $"; #endif /* LIBC_RCS and not lint */ -#include <sys/types.h> #include <machine/sysarch.h> struct parms { - u_int start; - u_int length; + unsigned int start; + unsigned int length; int enable; }; int -i386_set_ioperm(u_int start, u_int length, int enable) +i386_set_ioperm(unsigned int start, unsigned int length, int enable) { struct parms p; diff --git a/sys/amd64/include/sysarch.h b/sys/amd64/include/sysarch.h index 78156d4..a924838 100644 --- a/sys/amd64/include/sysarch.h +++ b/sys/amd64/include/sysarch.h @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: sysarch.h,v 1.8 1998/02/03 20:46:18 bde Exp $ + * $Id: sysarch.h,v 1.9 1998/07/28 03:33:27 jlemon Exp $ */ /* @@ -55,8 +55,8 @@ union descriptor; __BEGIN_DECLS int i386_get_ldt __P((int, union descriptor *, int)); int i386_set_ldt __P((int, union descriptor *, int)); -int i386_get_ioperm __P((u_int, u_int *, int *)); -int i386_set_ioperm __P((u_int, u_int, int)); +int i386_get_ioperm __P((unsigned int, unsigned int *, int *)); +int i386_set_ioperm __P((unsigned int, unsigned int, int)); int i386_vm86 __P((int, void *)); __END_DECLS #endif /* !KERNEL */ diff --git a/sys/i386/include/sysarch.h b/sys/i386/include/sysarch.h index 78156d4..a924838 100644 --- a/sys/i386/include/sysarch.h +++ b/sys/i386/include/sysarch.h @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: sysarch.h,v 1.8 1998/02/03 20:46:18 bde Exp $ + * $Id: sysarch.h,v 1.9 1998/07/28 03:33:27 jlemon Exp $ */ /* @@ -55,8 +55,8 @@ union descriptor; __BEGIN_DECLS int i386_get_ldt __P((int, union descriptor *, int)); int i386_set_ldt __P((int, union descriptor *, int)); -int i386_get_ioperm __P((u_int, u_int *, int *)); -int i386_set_ioperm __P((u_int, u_int, int)); +int i386_get_ioperm __P((unsigned int, unsigned int *, int *)); +int i386_set_ioperm __P((unsigned int, unsigned int, int)); int i386_vm86 __P((int, void *)); __END_DECLS #endif /* !KERNEL */ |