Browse Source

Use __libc_fork for the uClinux fork stub

Eric Andersen 20 years ago
parent
commit
c9781f6b04
1 changed files with 2 additions and 2 deletions
  1. 2 2
      libc/sysdeps/linux/common/syscalls.c

+ 2 - 2
libc/sysdeps/linux/common/syscalls.c

@@ -46,14 +46,14 @@
 #	ifdef __UCLIBC_HAS_MMU__
 #define __NR___libc_fork __NR_fork
 		_syscall0(pid_t, __libc_fork);
-		weak_alias (__libc_fork, fork)
 #	else
-		pid_t fork(void)
+		pid_t __libc_fork(void)
 		{
 			__set_errno(ENOSYS);
 			return -1;
 		}
 #	endif
+weak_alias (__libc_fork, fork)
 #endif
 
 //#define __NR_read             3