]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add __new_sem_post to get prototype in manager.c; include semaphore.h
authorUlrich Drepper <drepper@redhat.com>
Sun, 10 Oct 1999 20:39:30 +0000 (20:39 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 10 Oct 1999 20:39:30 +0000 (20:39 +0000)
for needed types.

linuxthreads/internals.h

index 55e79eba6bc371c5dc49e6d79cd04e49ac671eb7..187b9b19a673aabb8a18aa173cbf3bdab18b4340 100644 (file)
@@ -24,6 +24,7 @@
 #include <sys/types.h>
 
 #include "pt-machine.h"
+#include "semaphore.h"
 
 #ifndef THREAD_GETMEM
 # define THREAD_GETMEM(descr, member) descr->member
@@ -358,3 +359,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);