[Glibc-bsd-commits] r1434 - in
trunk/glibc-2.3-head/sysdeps/kfreebsd: i386 i386/sys x86_64/sys
Aurelien Jarno
aurel32 at costa.debian.org
Tue Apr 11 07:20:54 UTC 2006
Author: aurel32
Date: 2006-04-11 07:20:53 +0000 (Tue, 11 Apr 2006)
New Revision: 1434
Modified:
trunk/glibc-2.3-head/sysdeps/kfreebsd/i386/i386_get_ioperm.c
trunk/glibc-2.3-head/sysdeps/kfreebsd/i386/sys/perm.h
trunk/glibc-2.3-head/sysdeps/kfreebsd/x86_64/sys/perm.h
Log:
Some more compile fixes
Modified: trunk/glibc-2.3-head/sysdeps/kfreebsd/i386/i386_get_ioperm.c
===================================================================
--- trunk/glibc-2.3-head/sysdeps/kfreebsd/i386/i386_get_ioperm.c 2006-04-11 05:45:17 UTC (rev 1433)
+++ trunk/glibc-2.3-head/sysdeps/kfreebsd/i386/i386_get_ioperm.c 2006-04-11 07:20:53 UTC (rev 1434)
@@ -20,7 +20,7 @@
#include <sysarch.h>
int
-i386_get_ioperm (unsigned int from, unsigned int *num, int *turned_on)
+i386_get_ioperm (unsigned long int from, unsigned long int *num, int *turned_on)
{
struct i386_ioperm_args args;
Modified: trunk/glibc-2.3-head/sysdeps/kfreebsd/i386/sys/perm.h
===================================================================
--- trunk/glibc-2.3-head/sysdeps/kfreebsd/i386/sys/perm.h 2006-04-11 05:45:17 UTC (rev 1433)
+++ trunk/glibc-2.3-head/sysdeps/kfreebsd/i386/sys/perm.h 2006-04-11 07:20:53 UTC (rev 1434)
@@ -31,11 +31,11 @@
/* Change I/O privilege level. */
extern int iopl (int __level) __THROW;
-extern int i386_set_ioperm (unsigned int __from, unsigned int __num,
+extern int i386_set_ioperm (unsigned long int __from, unsigned long int __num,
int __turn_on) __THROW;
/* Retrieve a contiguous range of port input/output permissions. */
-extern int i386_get_ioperm (unsigned int __from, unsigned int *__num,
+extern int i386_get_ioperm (unsigned long int __from, unsigned long int *__num,
int *__turned_on) __THROW;
__END_DECLS
Modified: trunk/glibc-2.3-head/sysdeps/kfreebsd/x86_64/sys/perm.h
===================================================================
--- trunk/glibc-2.3-head/sysdeps/kfreebsd/x86_64/sys/perm.h 2006-04-11 05:45:17 UTC (rev 1433)
+++ trunk/glibc-2.3-head/sysdeps/kfreebsd/x86_64/sys/perm.h 2006-04-11 07:20:53 UTC (rev 1434)
@@ -31,11 +31,11 @@
/* Change I/O privilege level. */
extern int iopl (int __level) __THROW;
-extern int i386_set_ioperm (unsigned int __from, unsigned int __num,
+extern int i386_set_ioperm (unsigned long int __from, unsigned long int __num,
int __turn_on) __THROW;
/* Retrieve a contiguous range of port input/output permissions. */
-extern int i386_get_ioperm (unsigned int __from, unsigned int *__num,
+extern int i386_get_ioperm (unsigned long int __from, unsigned long int *__num,
int *__turned_on) __THROW;
__END_DECLS
More information about the Glibc-bsd-commits
mailing list