Skip to content

Commit

Permalink
fix: remove unused function
Browse files Browse the repository at this point in the history
remove gettimeofday function to avoid build
failed on some platform

Log: bug fix
Change-Id: I70175e646fd95005cb2c8fdd26b8e0731c8690c3
  • Loading branch information
deepin-mozart committed Sep 5, 2023
1 parent 833eb14 commit 82e9ac3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/tools/eventrecorder/preload/vdsopreload.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 82e9ac3

Please sign in to comment.