summaryrefslogtreecommitdiff
path: root/libc/unistd
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-05-26 02:01:29 +0000
committerMike Frysinger <vapier@gentoo.org>2006-05-26 02:01:29 +0000
commit09a6ea94290c91bf08a7068046dcd79be14948b6 (patch)
tree99fbbd2fe9bb7972f570b7d0d290b917c3365023 /libc/unistd
parent20dd29a97bf1cb69197c2a87173930d143ec8b7d (diff)
Amir Shalem writes:
there are missing prototypes for chown() and execle() in uClibc-snapshot. I'm attaching a patch to add the missing prototypes. the error I'm getting without the patch: AR cr libc/libc_so.a LD libuClibc-0.9.28.so libc/libc_so.a(grantpt.os): In function `__unix_grantpt': grantpt.c:(.text+0x108): undefined reference to `__GI_chown' grantpt.c:(.text+0x1ae): undefined reference to `__GI_execle'
Diffstat (limited to 'libc/unistd')
-rw-r--r--libc/unistd/exec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/unistd/exec.c b/libc/unistd/exec.c
index 0c90f376d..e40dadc8b 100644
--- a/libc/unistd/exec.c
+++ b/libc/unistd/exec.c
@@ -40,6 +40,7 @@
#include <sys/mman.h>
libc_hidden_proto(execl)
+libc_hidden_proto(execle)
libc_hidden_proto(execvp)
libc_hidden_proto(memcpy)