uclibc: add the pthread daemon() fix from #4809
[openwrt/staging/chunkeey.git] / toolchain / uClibc / patches-nptl / 130-pthread_weak_binding.patch
1 --- a/libc/unistd/daemon.c
2 +++ b/libc/unistd/daemon.c
3 @@ -54,7 +54,6 @@
4 libc_hidden_proto(dup2)
5 libc_hidden_proto(setsid)
6 libc_hidden_proto(chdir)
7 -libc_hidden_proto(fork)
8
9 int daemon( int nochdir, int noclose )
10 {