about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-06-28 09:51:00 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-06-28 09:51:00 +0200
commit273a2a2ae8b097672cdc8e9888548b134955af42 (patch)
treea944110b3bfa9a0578aea7c5fc1994d801aee719 /sysdeps/unix/sysv/linux/x86_64/timer_gettime.c
parentd7d0efec47e76c022c3bcb30cdb4b0501d7a9b2a (diff)
downloadglibc-273a2a2ae8b097672cdc8e9888548b134955af42.tar.gz
glibc-273a2a2ae8b097672cdc8e9888548b134955af42.tar.xz
glibc-273a2a2ae8b097672cdc8e9888548b134955af42.zip
Linux: Move timer_create, timer_delete from librt to libc
The symbols were moved using scripts/move-symbol-to-libc.py.

timer_create and timer_delete are tied together via the int/timer_t
compatibility code.  The way the ABI intransition is implemented
is changed with this commit: the implementation is now consolidated
in one file with a TIMER_T_WAS_INT_COMPAT check.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/unix/sysv/linux/x86_64/timer_gettime.c')
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/timer_gettime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c b/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c
index 3f3ae12d6b..058577ecb2 100644
--- a/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c
+++ b/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c
@@ -35,7 +35,7 @@ versioned_symbol (librt, __timer_gettime_new, timer_gettime, GLIBC_2_3_3);
 int
 __timer_gettime_old (int timerid, struct itimerspec *value)
 {
-  return __timer_gettime_new (__compat_timer_list[timerid], value);
+  return __timer_gettime_new (__timer_compat_list[timerid], value);
 }
 compat_symbol (librt, __timer_gettime_old, timer_gettime, GLIBC_2_2);
 #endif