summary refs log tree commit diff
path: root/linuxthreads
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-04-21 18:38:24 +0000
committerAndreas Jaeger <aj@suse.de>2001-04-21 18:38:24 +0000
commite6dcf35202903067d84f0da7ee997679ccf293c6 (patch)
tree5a08dbf86c3e943a4843a2fe7e2c2468c6cccaee /linuxthreads
parente94dd73359fc246ecdf234b9aeb14ce015c1b602 (diff)
downloadglibc-e6dcf35202903067d84f0da7ee997679ccf293c6.tar.gz
glibc-e6dcf35202903067d84f0da7ee997679ccf293c6.tar.xz
glibc-e6dcf35202903067d84f0da7ee997679ccf293c6.zip
Add __pthread_clock_gettime and __pthread_clock_settime prototypes.
2001-04-21  Andreas Jaeger  <aj@suse.de>

	* internals.h: Add __pthread_clock_gettime and
	__pthread_clock_settime prototypes.
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog5
-rw-r--r--linuxthreads/internals.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index e74f0bfbe8..40056baaba 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,8 @@
+2001-04-21  Andreas Jaeger  <aj@suse.de>
+
+	* internals.h: Add __pthread_clock_gettime and
+	__pthread_clock_settime prototypes.
+
 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
 
 	* internals.h: Include <cpuclock-init.h>.
diff --git a/linuxthreads/internals.h b/linuxthreads/internals.h
index fbe0ea35d2..27d4789cc8 100644
--- a/linuxthreads/internals.h
+++ b/linuxthreads/internals.h
@@ -510,6 +510,9 @@ extern int __pthread_spin_unlock (pthread_spinlock_t *__lock);
 extern int __pthread_spin_init (pthread_spinlock_t *__lock, int __pshared);
 extern int __pthread_spin_destroy (pthread_spinlock_t *__lock);
 
+extern int __pthread_clock_gettime (unsigned long long int freq, struct timespec *tp);
+extern void __pthread_clock_settime (unsigned long long int offset);
+
 
 /* Global pointers to old or new suspend functions */