summaryrefslogtreecommitdiff
path: root/rt
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-04-11 07:08:31 +0000
committerUlrich Drepper <drepper@redhat.com>2000-04-11 07:08:31 +0000
commit6689a1882be51506e254adbf088a61968604f498 (patch)
tree8e3a6ef34fdc3218b5d8d024314a4c6b6a124f80 /rt
parent25ee87d6f1b1ae018441f8af7b150f922d567ca3 (diff)
downloadglibc-6689a1882be51506e254adbf088a61968604f498.tar.gz
Update.
2000-04-10 Ulrich Drepper <drepper@redhat.com> * Versions.def (librt): Add GLIBC_2.2. * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid, clock_getres, clock_gettime, clock_settime, timer_create, timer_delete, timer_getoverr, timer_gettime, and timer_settime. * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime, clock_settime, timer_create, timer_delete, timer_getoverrun, timer_gettime, and timer_settime. * sysdeps/generic/clock_getcpuclockid.c: New file. * sysdeps/generic/get_clockfreq.c: New file. * sysdeps/unix/i386/clock_getcpuclockid.c: New file. * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file. * sysdeps/mach/hurd/i386/bits/time.h: New file. * sysdeps/unix/i386/i586/clock_getres.c: New file. * sysdeps/unix/i386/i586/clock_gettime.c: New file. * sysdeps/unix/i386/i686/Implies: New file. * sysdpes/unix/sysv/linux/i386/bits/time.h: New file. * time/Makefile (routines): Move clock_getres, clock_gettime, clock_settime, timer_create, timer_delete, timer_getoverr, timer_gettime, and timer_settime to rt/Makefile. * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime, clock_settime, timer_create, timer_delete, timer_getoverrun, timer_gettime, and timer_settime. * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__ and not const as attribute name.
Diffstat (limited to 'rt')
-rw-r--r--rt/Makefile7
-rw-r--r--rt/Versions8
2 files changed, 13 insertions, 2 deletions
diff --git a/rt/Makefile b/rt/Makefile
index 2044eb4bf6..b2688f92be 100644
--- a/rt/Makefile
+++ b/rt/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
+# Copyright (C) 1997, 1998, 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
@@ -26,7 +26,10 @@ headers := aio.h
librt-routines := aio_cancel aio_error aio_fsync aio_misc aio_read \
aio_read64 aio_return aio_suspend aio_write \
aio_write64 lio_listio lio_listio64 aio_sigqueue \
- aio_notify
+ aio_notify get_clockfreq clock_getcpuclockid \
+ clock_getres clock_gettime clock_settime \
+ timer_create timer_delete timer_getoverr \
+ timer_gettime timer_settime
# Make sure that everything is distributed independent of configuration.
distribute := aio_misc.h $(librt-routines:=.c) $(librt-map)
diff --git a/rt/Versions b/rt/Versions
index abe9e33423..aec059c06a 100644
--- a/rt/Versions
+++ b/rt/Versions
@@ -5,4 +5,12 @@ librt {
aio_init; aio_read; aio_read64; aio_return; aio_return64; aio_suspend;
aio_suspend64; aio_write; aio_write64; lio_listio; lio_listio64;
}
+ GLIBC_2.2 {
+ # c*
+ clock_getres; clock_gettime; clock_settime; clock_getcpuclockid;
+
+ # t*
+ timer_create; timer_delete; timer_getoverrun; timer_gettime;
+ timer_settime;
+ }
}