aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-11-29 18:11:17 -0500
committerMike Frysinger <vapier@gentoo.org>2012-11-29 19:31:40 -0500
commit37db69de1dac0982213f946a0c04ad120033a19e (patch)
tree8ec762f790abf01d2ad241bb61d3e0b90b45fcce
parent38f34d05c37360376b9ff4b12a4d014247edc633 (diff)
downloadglibc-37db69de1dac0982213f946a0c04ad120033a19e.zip
glibc-37db69de1dac0982213f946a0c04ad120033a19e.tar.gz
glibc-37db69de1dac0982213f946a0c04ad120033a19e.tar.bz2
clock_getcpuclockid: delete unused HAS_CPUCLOCK
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>
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/unix/sysv/linux/clock_getcpuclockid.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 6c973b4..9611f6c 100644
--- 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.
diff --git a/sysdeps/unix/sysv/linux/clock_getcpuclockid.c b/sysdeps/unix/sysv/linux/clock_getcpuclockid.c
index c00f5ea..c734c5a 100644
--- a/sysdeps/unix/sysv/linux/clock_getcpuclockid.c
+++ b/sysdeps/unix/sysv/linux/clock_getcpuclockid.c
@@ -22,10 +22,6 @@
#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)
{