about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-06-08 04:57:40 +0000
committerUlrich Drepper <drepper@redhat.com>2000-06-08 04:57:40 +0000
commit777414995d5bcf21a64c2b9bf919d8abe33b4713 (patch)
treed28d6abc9363a4850f2d53bab0c5bb38a1d4dc57
parentffa8a90345ca127a384198b96add9939cb9f8e5c (diff)
downloadglibc-777414995d5bcf21a64c2b9bf919d8abe33b4713.tar.gz
glibc-777414995d5bcf21a64c2b9bf919d8abe33b4713.tar.xz
glibc-777414995d5bcf21a64c2b9bf919d8abe33b4713.zip
Update.
	* time/time.h: Add missing __THROW for clock_getcpuclockid
	prototype.
-rw-r--r--ChangeLog3
-rw-r--r--time/time.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9f22d2b8e9..3314b60b47 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2000-06-07  Ulrich Drepper  <drepper@redhat.com>
 
+	* time/time.h: Add missing __THROW for clock_getcpuclockid
+	prototype.
+
 	* elf/Makefile (distribute): Add dl-dtprocnum.h.
 	* include/elf.h: Include also <dl-dtprocnum.h>.
 	* elf/dl-deps.c: Likewise.
diff --git a/time/time.h b/time/time.h
index c71199aef7..f4a3eb1ef3 100644
--- a/time/time.h
+++ b/time/time.h
@@ -278,7 +278,7 @@ extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp)
 
 #  ifdef __USE_XOPEN2K
 /* Return clock ID for CPU-time clock.  */
-extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id);
+extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __THROW;
 #  endif