about summary refs log tree commit diff
path: root/bits/types.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2000-08-15 19:01:50 +0000
committerMark Kettenis <kettenis@gnu.org>2000-08-15 19:01:50 +0000
commit724000bc4a893f96a8e56de3c1f8757dfc4bf7b1 (patch)
tree9b369833814a5eeb8121961112428079a5a44f35 /bits/types.h
parentfd811dc69a77e9c76637c3c64646497dedcddfcf (diff)
downloadglibc-724000bc4a893f96a8e56de3c1f8757dfc4bf7b1.tar.gz
glibc-724000bc4a893f96a8e56de3c1f8757dfc4bf7b1.tar.xz
glibc-724000bc4a893f96a8e56de3c1f8757dfc4bf7b1.zip
* sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t): Remove typedefs. * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove typedefs. * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove typedefs. * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
	* sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
	Remove typedefs.
	* sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
	typedefs.
	* sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
	typedefs.
	* sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.

2000-08-15  Mark Kettenis  <kettenis@gnu.org>
Diffstat (limited to 'bits/types.h')
-rw-r--r--bits/types.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/bits/types.h b/bits/types.h
index a7b736dffc..fd2ec223ea 100644
--- a/bits/types.h
+++ b/bits/types.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,92,94,95,96,97,98,99, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1991,92,94,95,96,97,98,99,2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -86,6 +86,13 @@ typedef long int __swblk_t;	/* Type of a swap block maybe?  */
 typedef long int __key_t;	/* Type of an IPC key */
 
 
+/* Clock ID used in clock and timer functions.  */
+typedef int __clockid_t;
+
+/* Timer ID returned by `timer_create'.  */
+typedef int __timer_t;
+
+
 /* One element in the file descriptor mask array.  */
 typedef unsigned long int __fd_mask;