From 30a0b167d347dd80807d167ee85bf58264fb8b76 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Mon, 19 Oct 2020 09:35:58 -0300 Subject: Reinstate ftime and add deprecate message on ftime usage This patch revert "Move ftime to a compatibility symbol" (commit 14633d3e568eb9770a7e5046eff257113e0453fb). Checked on x86_64-linux-gnu and i686-linux-gnu. --- include/sys/timeb.h | 1 + sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist | 1 + time/Makefile | 5 ++- time/ftime.c | 20 ++--------- time/sys/timeb.h | 45 +++++++++++++++++++++++++ time/tst-ftime.c | 38 +++++++-------------- 6 files changed, 65 insertions(+), 45 deletions(-) create mode 100644 include/sys/timeb.h create mode 100644 time/sys/timeb.h diff --git a/include/sys/timeb.h b/include/sys/timeb.h new file mode 100644 index 0000000..9f4509c --- /dev/null +++ b/include/sys/timeb.h @@ -0,0 +1 @@ +#include