From bdae5941740f7d3c854d0d6165dedd85ec146af7 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 10 Oct 1999 20:39:30 +0000 Subject: [PATCH] Add __new_sem_post to get prototype in manager.c; include semaphore.h for needed types. --- linuxthreads/internals.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/linuxthreads/internals.h b/linuxthreads/internals.h index 55e79eba6bc..187b9b19a67 100644 --- a/linuxthreads/internals.h +++ b/linuxthreads/internals.h @@ -24,6 +24,7 @@ #include #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); -- 2.47.2