From 1a90c75e47052d5b2360f038a822d5cac6a2e1a0 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Tue, 24 Jan 2006 17:42:25 +0000 Subject: use __typeof for all __libc_x prototypes, do not need __sigaction/__vfork --- libpthread/linuxthreads.old/internals.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'libpthread/linuxthreads.old/internals.h') diff --git a/libpthread/linuxthreads.old/internals.h b/libpthread/linuxthreads.old/internals.h index 1aadb96b9..9fbb47fda 100644 --- a/libpthread/linuxthreads.old/internals.h +++ b/libpthread/linuxthreads.old/internals.h @@ -504,12 +504,11 @@ extern void (*__pthread_suspend)(pthread_descr); /* Prototypes for the function without cancelation support when the normal version has it. */ -extern int __libc_close (int fd); -extern int __libc_nanosleep (const struct timespec *requested_time, - struct timespec *remaining); -extern ssize_t __libc_read (int fd, void *buf, size_t count); -extern pid_t __libc_waitpid (pid_t pid, int *stat_loc, int options); -extern ssize_t __libc_write (int fd, const void *buf, size_t count); +extern __typeof(close) __libc_close; +extern __typeof(nanosleep) __libc_nanosleep; +extern __typeof(read) __libc_read; +extern __typeof(waitpid) __libc_waitpid; +extern __typeof(write) __libc_write; /* Prototypes for some of the new semaphore functions. */ extern int __new_sem_post (sem_t * sem); -- cgit v1.2.3