]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Define __clockid_t and __timer_t.
authorUlrich Drepper <drepper@redhat.com>
Mon, 14 Aug 2000 05:23:10 +0000 (05:23 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 14 Aug 2000 05:23:10 +0000 (05:23 +0000)
sysdeps/unix/sysv/linux/alpha/bits/types.h
sysdeps/unix/sysv/linux/mips/bits/types.h

index 445ca94e8ffacd0955fc392afe808c51345d9241..13c389846fb271b2facd23be76e0092affb6116d 100644 (file)
@@ -83,6 +83,12 @@ typedef long int __swblk_t;          /* Type of a swap block maybe?  */
 typedef long int __clock_t;
 typedef int __key_t;                   /* Type of a SYSV IPC key. */
 
+/* Clock ID used in clock and timer functions.  */
+typedef int __clockid_t;
+
+/* Timer ID returned by `timer_create'.  */
+typedef int __timer_t;
+
 /* Used in `struct shmid_ds'.  */
 typedef int __ipc_pid_t;
 
index 818b9479c34d696f68195e7e83840e8e5018bb45..927d6098dc49de44666dd8f122d81cef364e2677 100644 (file)
@@ -87,6 +87,12 @@ typedef long int __swblk_t;          /* Type of a swap block maybe?  */
 \f
 typedef long int __clock_t;
 
+/* 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;