aboutsummaryrefslogtreecommitdiff
path: root/bits
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
parentfd811dc69a77e9c76637c3c64646497dedcddfcf (diff)
downloadglibc-724000bc4a893f96a8e56de3c1f8757dfc4bf7b1.zip
glibc-724000bc4a893f96a8e56de3c1f8757dfc4bf7b1.tar.gz
glibc-724000bc4a893f96a8e56de3c1f8757dfc4bf7b1.tar.bz2
* 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')
-rw-r--r--bits/time.h8
-rw-r--r--bits/types.h9
2 files changed, 9 insertions, 8 deletions
diff --git a/bits/time.h b/bits/time.h
index 6ef97b7..0c3f7fd 100644
--- a/bits/time.h
+++ b/bits/time.h
@@ -1,5 +1,5 @@
/* System-dependent timing definitions. Stub version.
- Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1997, 1999, 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
@@ -27,12 +27,6 @@
# define CLOCKS_PER_SEC 60
-/* Clock ID used in clock and timer functions. */
-typedef int __clockid_t;
-
-/* Timer ID returned by `timer_create'. */
-typedef int __timer_t;
-
# ifdef __USE_POSIX199309
/* Identifier for system-wide realtime clock. */
# define CLOCK_REALTIME 0
diff --git a/bits/types.h b/bits/types.h
index a7b736d..fd2ec22 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;