summaryrefslogtreecommitdiffstats
path: root/libc/arch-mips64
diff options
context:
space:
mode:
authorHaruki Hasegawa <h6a.h4i.0@gmail.com>2014-10-13 00:50:47 +0900
committerElliott Hughes <enh@google.com>2014-10-13 17:04:10 -0700
commit18160256840e9bb097f17422ea47d54fabbc9f3f (patch)
tree9e214fedefed00a66099d8cc9abab4dd68cbec80 /libc/arch-mips64
parentc229705051c8b6a06ad81c221ca74ef9aa743e13 (diff)
downloadbionic-18160256840e9bb097f17422ea47d54fabbc9f3f.zip
bionic-18160256840e9bb097f17422ea47d54fabbc9f3f.tar.gz
bionic-18160256840e9bb097f17422ea47d54fabbc9f3f.tar.bz2
Add clock_settime and clock_nanosleep.
Add the missing prototypes, fix the existing prototypes to use clockid_t rather than int, fix clock_nanosleep's failure behavior, and add simple tests. Bug: 17644443 Bug: https://code.google.com/p/android/issues/detail?id=77372 Change-Id: I03fba369939403918abcabae9551a7123953d780 Signed-off-by: Haruki Hasegawa <h6a.h4i.0@gmail.com>
Diffstat (limited to 'libc/arch-mips64')
-rw-r--r--libc/arch-mips64/syscalls/__clock_nanosleep.S (renamed from libc/arch-mips64/syscalls/clock_nanosleep.S)5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/arch-mips64/syscalls/clock_nanosleep.S b/libc/arch-mips64/syscalls/__clock_nanosleep.S
index c958a10..204675f 100644
--- a/libc/arch-mips64/syscalls/clock_nanosleep.S
+++ b/libc/arch-mips64/syscalls/__clock_nanosleep.S
@@ -2,7 +2,7 @@
#include <private/bionic_asm.h>
-ENTRY(clock_nanosleep)
+ENTRY(__clock_nanosleep)
.set push
.set noreorder
li v0, __NR_clock_nanosleep
@@ -22,4 +22,5 @@ ENTRY(clock_nanosleep)
j t9
move ra, t0
.set pop
-END(clock_nanosleep)
+END(__clock_nanosleep)
+.hidden __clock_nanosleep