From b91a7f431d894b7bafc5f8456f0c4f35e682caf6 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Mon, 14 Mar 2011 19:58:35 +0100 Subject: cleanup fork() Keep only fork (and it's hidden variant) and __libc_fork. Common __libc_fork prototype in unistd.h. Get rid of __fork, by changing HIDDEN_JUMPTARGET(__fork) to use fork I can't see the reason to have fork() in libpthread, but kept it for now making __fork static in these files. Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/xtensa/fork.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'libc/sysdeps/linux/xtensa/fork.c') diff --git a/libc/sysdeps/linux/xtensa/fork.c b/libc/sysdeps/linux/xtensa/fork.c index f8fae9b5f..f8b77bfb5 100644 --- a/libc/sysdeps/linux/xtensa/fork.c +++ b/libc/sysdeps/linux/xtensa/fork.c @@ -14,9 +14,6 @@ /* Xtensa doesn't provide a 'fork' system call, so we use 'clone'. */ -extern __typeof(fork) __libc_fork; - -libc_hidden_proto(fork) pid_t __libc_fork(void) { return (pid_t) INLINE_SYSCALL(clone, 2, SIGCHLD, 0); -- cgit v1.2.3