From 6689a1882be51506e254adbf088a61968604f498 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 11 Apr 2000 07:08:31 +0000 Subject: Update. 2000-04-10 Ulrich Drepper * 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. --- rt/Makefile | 7 +++++-- rt/Versions | 8 ++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) (limited to 'rt') 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; + } } -- cgit v1.2.3-70-g09d2