about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2016-09-02 16:56:35 -0700
committerRoland McGrath <roland@hack.frob.com>2016-09-02 16:56:35 -0700
commit307c2c2dfff76330a29a3ab69a0177b118142145 (patch)
treeb554d1cae0dc7c74bd5c35c1b0a7108fe0aafad8
parent54c86ccab686605ce05198f10cae925ae486b623 (diff)
downloadglibc-307c2c2dfff76330a29a3ab69a0177b118142145.tar.gz
glibc-307c2c2dfff76330a29a3ab69a0177b118142145.tar.xz
glibc-307c2c2dfff76330a29a3ab69a0177b118142145.zip
NaCl: Fix compile error in clock function.
	* sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/nacl/clock.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f95b22f587..3e70b4c5a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-09-02  Roland McGrath  <roland@hack.frob.com>
+
+	* sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
+
 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
 
 	* sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
diff --git a/sysdeps/nacl/clock.c b/sysdeps/nacl/clock.c
index 664ad650c3..b6fbcfd2dd 100644
--- a/sysdeps/nacl/clock.c
+++ b/sysdeps/nacl/clock.c
@@ -24,6 +24,6 @@
 clock_t
 clock (void)
 {
-  nacl_abi_clock_t result;
+  nacl_irt_clock_t result;
   return NACL_CALL (__nacl_irt_basic.clock (&result), result);
 }