summary refs log tree commit diff
path: root/time/time.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-06-02 19:47:36 +0000
committerRoland McGrath <roland@gnu.org>1996-06-02 19:47:36 +0000
commit9004bc202e5ea7b8eabca183f4e6c6abe573f802 (patch)
treec7aa3f8254f9f7019c84bfaf1de8a9d7ee18e31c /time/time.h
parent847242451c6e53156abead29aa47a3f56cfcc928 (diff)
downloadglibc-9004bc202e5ea7b8eabca183f4e6c6abe573f802.tar.gz
glibc-9004bc202e5ea7b8eabca183f4e6c6abe573f802.tar.xz
glibc-9004bc202e5ea7b8eabca183f4e6c6abe573f802.zip
Sun Jun 2 14:56:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
	* login/pututline_r.c: Fix typo in sizeof for DATA_TMP alloca.

	* sysdeps/generic/gnu/types.h (__clock_t): New type.

	* sysdeps/unix/sysv/linux/gnu/types.h (__clock_t, __fsid_t): Define
	using kernel types.
	* time/time.h (clock_t): Include <gnu/types.h> and define using
	__clock_t.
Diffstat (limited to 'time/time.h')
-rw-r--r--time/time.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/time/time.h b/time/time.h
index 12c3ce43e8..5926d80c8e 100644
--- a/time/time.h
+++ b/time/time.h
@@ -57,8 +57,10 @@ __BEGIN_DECLS
 	(defined(_TIME_H) || defined(__need_clock_t))
 #define	__clock_t_defined	1
 
+#include <gnu/types.h>
+
 /* Returned by `clock'.  */
-typedef long int clock_t;
+typedef __clock_t clock_t;
 
 #endif /* clock_t not defined and <time.h> or need clock_t.  */
 #undef	__need_clock_t