u_int --> unsigned int, remove (now unneeded) <sys/types.h>

This commit is contained in:
Jonathan Lemon 1998-07-28 15:22:51 +00:00
parent 77b7b41b81
commit 525187f914
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=37917
5 changed files with 19 additions and 21 deletions

View file

@ -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

View file

@ -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;

View file

@ -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;

View file

@ -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 */

View file

@ -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 */