From: Ulrich Drepper Date: Sun, 10 Oct 1999 20:39:30 +0000 (+0000) Subject: Add __new_sem_post to get prototype in manager.c; include semaphore.h X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bdae5941740f7d3c854d0d6165dedd85ec146af7;p=thirdparty%2Fglibc.git Add __new_sem_post to get prototype in manager.c; include semaphore.h for needed types. --- 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);