about summary refs log tree commit diff
path: root/time/time.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-08-18 23:36:58 +0000
committerUlrich Drepper <drepper@redhat.com>2001-08-18 23:36:58 +0000
commit689849878df718e0ef82a5f44b281e3629d2ade0 (patch)
treee066930374e9225548024c439ad79b909eea509a /time/time.h
parent9c777dfe8301cc0088917e35333d7db0064d68c8 (diff)
downloadglibc-689849878df718e0ef82a5f44b281e3629d2ade0.tar.gz
glibc-689849878df718e0ef82a5f44b281e3629d2ade0.tar.xz
glibc-689849878df718e0ef82a5f44b281e3629d2ade0.zip
Update.
	* time/time.h (struct timespec): Use __time_t for tv_sec element.

	* sysdeps/generic/inttypes.h: Define __wchar_t.  Use it instead of
	wchar_t for function declarations and defintions.

	* misc/sys/select.h: Define __need_time_t before including <time.h>.
	Define suseconds_t if it hasn't happened yet.

	* iconv/gconv.h: Define __need_wchar_t before including <stddef.h>.

	* conform/data/sys/uio.h-data: Allow UIO_MAXIOV to be defined.

	* sysdeps/generic/stdint.h: Don't get definition of wchar_t from
	<stddef.h>.

	* conform/data/stddef.h-data: Remove wint_t.
Diffstat (limited to 'time/time.h')
-rw-r--r--time/time.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/time/time.h b/time/time.h
index 08ee502e5e..117bf7b88f 100644
--- a/time/time.h
+++ b/time/time.h
@@ -105,7 +105,7 @@ typedef __timer_t timer_t;
    has nanoseconds instead of microseconds.  */
 struct timespec
   {
-    long int tv_sec;		/* Seconds.  */
+    __time_t tv_sec;		/* Seconds.  */
     long int tv_nsec;		/* Nanoseconds.  */
   };