summaryrefslogtreecommitdiffstats
path: root/lib/libc/i386
diff options
context:
space:
mode:
authorjlemon <jlemon@FreeBSD.org>1998-07-28 15:22:51 +0000
committerjlemon <jlemon@FreeBSD.org>1998-07-28 15:22:51 +0000
commitf3f6e5cc3945b8c3f93b94b3ae0713754d5d9150 (patch)
tree915e11f002e15582e250b9e49135900f5fd91bde /lib/libc/i386
parent02fba0b1e7fb9e72dcb794438942165a036eb985 (diff)
downloadFreeBSD-src-f3f6e5cc3945b8c3f93b94b3ae0713754d5d9150.zip
FreeBSD-src-f3f6e5cc3945b8c3f93b94b3ae0713754d5d9150.tar.gz
u_int --> unsigned int, remove (now unneeded) <sys/types.h>
Diffstat (limited to 'lib/libc/i386')
-rw-r--r--lib/libc/i386/sys/i386_get_ioperm.26
-rw-r--r--lib/libc/i386/sys/i386_get_ioperm.c11
-rw-r--r--lib/libc/i386/sys/i386_set_ioperm.c11
3 files changed, 13 insertions, 15 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;
OpenPOWER on IntegriCloud