diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-08-14 05:23:10 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-08-14 05:23:10 +0000 |
commit | 5b5a4299b4138f06063856307b04fd34d78419fe (patch) | |
tree | ea154e6d9ce973eac6c06fe0d1579e2c2efe850f | |
parent | 8a632183fba433b452e3ab72b1d35809d3251f49 (diff) | |
download | glibc-5b5a4299b4138f06063856307b04fd34d78419fe.tar glibc-5b5a4299b4138f06063856307b04fd34d78419fe.tar.gz glibc-5b5a4299b4138f06063856307b04fd34d78419fe.tar.bz2 glibc-5b5a4299b4138f06063856307b04fd34d78419fe.zip |
Define __clockid_t and __timer_t.
-rw-r--r-- | sysdeps/unix/sysv/linux/alpha/bits/types.h | 6 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/mips/bits/types.h | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/bits/types.h b/sysdeps/unix/sysv/linux/alpha/bits/types.h index 445ca94e8f..13c389846f 100644 --- a/sysdeps/unix/sysv/linux/alpha/bits/types.h +++ b/sysdeps/unix/sysv/linux/alpha/bits/types.h @@ -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; diff --git a/sysdeps/unix/sysv/linux/mips/bits/types.h b/sysdeps/unix/sysv/linux/mips/bits/types.h index 818b9479c3..927d6098dc 100644 --- a/sysdeps/unix/sysv/linux/mips/bits/types.h +++ b/sysdeps/unix/sysv/linux/mips/bits/types.h @@ -87,6 +87,12 @@ typedef long int __swblk_t; /* Type of a swap block maybe? */ 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; |