Fix SYSCALLS.TXT now clock_getres comes from the vdso.
Bug: N/A
Test: ran tests
Change-Id: I122066992e1ab1aa38beed256103c3a22fd05a6f
diff --git a/libc/SYSCALLS.TXT b/libc/SYSCALLS.TXT
index f8be0b0..5c9a284 100644
--- a/libc/SYSCALLS.TXT
+++ b/libc/SYSCALLS.TXT
@@ -212,7 +212,6 @@
clock_t times(struct tms*) all
int nanosleep(const struct timespec*, struct timespec*) all
int clock_settime(clockid_t, const struct timespec*) all
-int clock_getres(clockid_t, struct timespec*) all
int ___clock_nanosleep:clock_nanosleep(clockid_t, int, const struct timespec*, struct timespec*) all
int getitimer(int, const struct itimerval*) all
int setitimer(int, const struct itimerval*, struct itimerval*) all
@@ -351,6 +350,7 @@
int __set_thread_area:set_thread_area(void*) x86
# vdso stuff.
+int __clock_getres:clock_getres(clockid_t, struct timespec*) all
int __clock_gettime:clock_gettime(clockid_t, timespec*) all
int __gettimeofday:gettimeofday(timeval*, timezone*) all
diff --git a/libc/arch-arm/syscalls/__clock_getres.S b/libc/arch-arm/syscalls/__clock_getres.S
index a81cf00..439b5b8 100644
--- a/libc/arch-arm/syscalls/__clock_getres.S
+++ b/libc/arch-arm/syscalls/__clock_getres.S
@@ -14,4 +14,3 @@
neg r0, r0
b __set_errno_internal
END(__clock_getres)
-.hidden __clock_getres
diff --git a/libc/arch-mips/syscalls/__clock_getres.S b/libc/arch-mips/syscalls/__clock_getres.S
index c5eed97..d4e67c5 100644
--- a/libc/arch-mips/syscalls/__clock_getres.S
+++ b/libc/arch-mips/syscalls/__clock_getres.S
@@ -17,4 +17,3 @@
nop
.set reorder
END(__clock_getres)
-.hidden __clock_getres
diff --git a/libc/arch-x86/syscalls/__clock_getres.S b/libc/arch-x86/syscalls/__clock_getres.S
index b8c5374..77b0aa9 100644
--- a/libc/arch-x86/syscalls/__clock_getres.S
+++ b/libc/arch-x86/syscalls/__clock_getres.S
@@ -32,4 +32,3 @@
popl %ebx
ret
END(__clock_getres)
-.hidden __clock_getres