From 5b5a4299b4138f06063856307b04fd34d78419fe Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 14 Aug 2000 05:23:10 +0000 Subject: [PATCH] Define __clockid_t and __timer_t. --- sysdeps/unix/sysv/linux/alpha/bits/types.h | 6 ++++++ sysdeps/unix/sysv/linux/mips/bits/types.h | 6 ++++++ 2 files changed, 12 insertions(+) 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;