summary refs log tree commit diff
path: root/linuxthreads
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog5
-rw-r--r--linuxthreads/internals.h4
2 files changed, 9 insertions, 0 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 4b52758cc9..1643612eae 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,8 @@
+1999-10-09  Andreas Jaeger  <aj@suse.de>
+
+	* internals.h: Add __new_sem_post to get prototype in
+	manager.c; include semaphore.h for needed types.
+
 1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
 
 	* manager.c (__pthread_manager) [REQ_POST]: Use __new_sem_post
diff --git a/linuxthreads/internals.h b/linuxthreads/internals.h
index 73243d42dc..14c4b4e72c 100644
--- a/linuxthreads/internals.h
+++ b/linuxthreads/internals.h
@@ -24,6 +24,7 @@
 #include <bits/libc-tsd.h> /* for _LIBC_TSD_KEY_N */
 
 #include "pt-machine.h"
+#include "semaphore.h"
 
 #ifndef THREAD_GETMEM
 # define THREAD_GETMEM(descr, member) descr->member
@@ -360,3 +361,6 @@ extern int __libc_nanosleep (const struct timespec *requested_time,
 extern int __libc_read (int fd, void *buf, size_t count);
 extern pid_t __libc_waitpid (pid_t pid, int *stat_loc, int options);
 extern int __libc_write (int fd, const void *buf, size_t count);
+
+/* Prototypes for some of the new semaphore functions.  */
+extern int __new_sem_post (sem_t * sem);