[Glibc-bsd-commits] r1689 - trunk/glibc-ports/kfreebsd

Aurelien Jarno aurel32 at costa.debian.org
Thu Oct 19 21:22:18 UTC 2006


Author: aurel32
Date: 2006-10-19 21:22:18 +0000 (Thu, 19 Oct 2006)
New Revision: 1689

Modified:
   trunk/glibc-ports/kfreebsd/clock_gettime.c
   trunk/glibc-ports/kfreebsd/clock_settime.c
   trunk/glibc-ports/kfreebsd/kernel-posix-cpu-timers.h
Log:
glibc: fix the build of the i686 flavour



Modified: trunk/glibc-ports/kfreebsd/clock_gettime.c
===================================================================
--- trunk/glibc-ports/kfreebsd/clock_gettime.c	2006-10-16 11:38:14 UTC (rev 1688)
+++ trunk/glibc-ports/kfreebsd/clock_gettime.c	2006-10-19 21:22:18 UTC (rev 1689)
@@ -17,6 +17,7 @@
    02111-1307 USA.  */
 
 #include <sysdep.h>
+#include "kernel-posix-cpu-timers.h"
 
 int __syscall_clock_gettime(clockid_t clock_id, struct timespec *tp);
 

Modified: trunk/glibc-ports/kfreebsd/clock_settime.c
===================================================================
--- trunk/glibc-ports/kfreebsd/clock_settime.c	2006-10-16 11:38:14 UTC (rev 1688)
+++ trunk/glibc-ports/kfreebsd/clock_settime.c	2006-10-19 21:22:18 UTC (rev 1689)
@@ -17,6 +17,7 @@
    02111-1307 USA.  */
 
 #include <sysdep.h>
+#include "kernel-posix-cpu-timers.h"
 
 int __syscall_clock_settime(clockid_t clock_id, const struct timespec *tp);
 

Modified: trunk/glibc-ports/kfreebsd/kernel-posix-cpu-timers.h
===================================================================
--- trunk/glibc-ports/kfreebsd/kernel-posix-cpu-timers.h	2006-10-16 11:38:14 UTC (rev 1688)
+++ trunk/glibc-ports/kfreebsd/kernel-posix-cpu-timers.h	2006-10-19 21:22:18 UTC (rev 1689)
@@ -1 +1,5 @@
-/* placeholder */
+/* Parameters for the FreeBSD kernel ABI for CPU clocks.  */
+
+#define CPUCLOCK_WHICH(clock)   ((clock) & (clockid_t) CPUCLOCK_CLOCK_MASK)
+#define CPUCLOCK_CLOCK_MASK     7
+




More information about the Glibc-bsd-commits mailing list