From df6d227e69082c5cab33b60aa676aebf08b7585e Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 28 Jun 2021 09:51:00 +0200 Subject: Linux: Move timer_getoverrun from librt to libc The symbol was moved using scripts/move-symbol-to-libc.py. 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: Adhemerva Zanella --- rt/Makefile | 2 +- rt/Versions | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'rt') diff --git a/rt/Makefile b/rt/Makefile index 5de91fe213..8d9a03a241 100644 --- a/rt/Makefile +++ b/rt/Makefile @@ -30,7 +30,6 @@ routines = \ librt-routines = \ librt-compat \ - timer_getoverr \ timer_gettime \ timer_settime \ @@ -63,6 +62,7 @@ $(librt-routines-var) += \ mq_unlink \ timer_create \ timer_delete \ + timer_getoverr \ tests := tst-shm tst-timer tst-timer2 \ tst-aio tst-aio64 tst-aio2 tst-aio3 tst-aio4 tst-aio5 tst-aio6 \ diff --git a/rt/Versions b/rt/Versions index fca804148c..de78be15dc 100644 --- a/rt/Versions +++ b/rt/Versions @@ -24,6 +24,7 @@ libc { %if PTHREAD_IN_LIBC timer_create; timer_delete; + timer_getoverrun; %endif shm_open; shm_unlink; @@ -85,6 +86,7 @@ libc { mq_unlink; timer_create; timer_delete; + timer_getoverrun; %endif shm_open; shm_unlink; @@ -131,8 +133,8 @@ librt { %if !PTHREAD_IN_LIBC timer_create; timer_delete; -%endif timer_getoverrun; +%endif timer_gettime; timer_settime; } -- cgit 1.4.1