summary refs log tree commit diff
path: root/time
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-04-11 11:02:59 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-04-11 11:02:59 -0700
commit4be2b5700315a99c6828ad314ed3e45ecf1c1527 (patch)
tree080a9af09c011b0db85ea2393e29d2df5e78ad1c /time
parent4cfd80263af2a94c6a2046ef43d2dc511bc15188 (diff)
downloadglibc-4be2b5700315a99c6828ad314ed3e45ecf1c1527.tar.gz
glibc-4be2b5700315a99c6828ad314ed3e45ecf1c1527.tar.xz
glibc-4be2b5700315a99c6828ad314ed3e45ecf1c1527.zip
Add __snseconds_t and __SNSECONDS_T_TYPE
Diffstat (limited to 'time')
-rw-r--r--time/time.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/time/time.h b/time/time.h
index 775c0927e7..776dc401ad 100644
--- a/time/time.h
+++ b/time/time.h
@@ -120,7 +120,7 @@ typedef __timer_t timer_t;
 struct timespec
   {
     __time_t tv_sec;		/* Seconds.  */
-    long int tv_nsec;		/* Nanoseconds.  */
+    __snseconds_t tv_nsec;	/* Nanoseconds.  */
   };
 
 #endif /* timespec not defined and <time.h> or need timespec.  */