aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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