aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/nacl/nacl-interfaces.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2015-04-29 15:34:34 -0700
committerRoland McGrath <roland@hack.frob.com>2015-04-29 15:34:34 -0700
commit45c2c5640354b52e5d7acd0a14748e76887d4081 (patch)
treeeea1b8ad4b44cb13dfff0e51ffdd6464a6c58a7f /sysdeps/nacl/nacl-interfaces.h
parent3600cf1e524b2aad379fa5dc76d5e124b23fc9fa (diff)
downloadglibc-45c2c5640354b52e5d7acd0a14748e76887d4081.zip
glibc-45c2c5640354b52e5d7acd0a14748e76887d4081.tar.gz
glibc-45c2c5640354b52e5d7acd0a14748e76887d4081.tar.bz2
NaCl: Change clock_t to long int.
Diffstat (limited to 'sysdeps/nacl/nacl-interfaces.h')
-rw-r--r--sysdeps/nacl/nacl-interfaces.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/nacl/nacl-interfaces.h b/sysdeps/nacl/nacl-interfaces.h
index 8d28e1a..0c886a5 100644
--- a/sysdeps/nacl/nacl-interfaces.h
+++ b/sysdeps/nacl/nacl-interfaces.h
@@ -41,8 +41,9 @@ typedef struct dirent nacl_abi_dirent_t;
typedef struct timeval nacl_abi_timeval_t;
typedef struct timespec nacl_abi_timespec_t;
-/* XXX change clock_t? */
-typedef uint32_t nacl_abi_clock_t;
+/* This is unsigned in the IRT ABI, but it's traditionally 'long int',
+ so we stick with that. */
+typedef clock_t nacl_abi_clock_t;
typedef int32_t nacl_abi_blkcnt_t;