]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
clock_getcpuclockid: delete unused HAS_CPUCLOCK
authorMike Frysinger <vapier@gentoo.org>
Thu, 29 Nov 2012 23:11:17 +0000 (18:11 -0500)
committerMike Frysinger <vapier@gentoo.org>
Fri, 30 Nov 2012 00:31:40 +0000 (19:31 -0500)
In commit 26889eacc24cd9f0cb37c5a67beac1a0ba709adf (Remove
__ASSUME_POSIX_CPU_TIMERS), all users of HAS_CPUCLOCK were
dropped.  Punt the fallback definition too.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
ChangeLog
sysdeps/unix/sysv/linux/clock_getcpuclockid.c

index 6c973b4c73bd71f4243c667f9ee6d975e81e29cc..9611f6cd81fa676e0565bf35329791a95f6a96b7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-11-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
+
 2012-11-29  Roland McGrath  <roland@hack.frob.com>
 
        * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
index c00f5ea064eb46e5f112e60cc36934629a9ab9fa..c734c5a04ecf97ae774839032e538aa4eaaecf9b 100644 (file)
 #include <kernel-features.h>
 #include "kernel-posix-cpu-timers.h"
 
-#ifndef HAS_CPUCLOCK
-# define HAS_CPUCLOCK 1
-#endif
-
 int
 clock_getcpuclockid (pid_t pid, clockid_t *clock_id)
 {