From 82e9ac3f02b19e4fa717f9b5d91a2cbaaff44347 Mon Sep 17 00:00:00 2001 From: Lu Zhen Date: Tue, 5 Sep 2023 15:34:52 +0800 Subject: [PATCH] fix: remove unused function remove gettimeofday function to avoid build failed on some platform Log: bug fix Change-Id: I70175e646fd95005cb2c8fdd26b8e0731c8690c3 --- src/tools/eventrecorder/preload/vdsopreload.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/tools/eventrecorder/preload/vdsopreload.c b/src/tools/eventrecorder/preload/vdsopreload.c index ed086e7a2..f1dd69f4d 100644 --- a/src/tools/eventrecorder/preload/vdsopreload.c +++ b/src/tools/eventrecorder/preload/vdsopreload.c @@ -22,11 +22,6 @@ int clock_gettime(clockid_t clk_id, struct timespec *tp) return syscall(SYS_clock_gettime, clk_id, tp); } -int gettimeofday(struct timeval *tv, struct timezone *tz) -{ - return syscall(SYS_gettimeofday, tv, tz); -} - #if defined(__x86_64__) time_t time(time_t *tloc) {