From 55b24e4e95a715b451507f2790d292fa8b1c2c1c Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Wed, 22 Mar 2006 15:49:22 +0000 Subject: Mark some functions as GNU, provide missing hidden memmem, remove _ISOC99/XOPEN_SOURCE --- libc/unistd/exec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libc/unistd') diff --git a/libc/unistd/exec.c b/libc/unistd/exec.c index eaf6a40aa..0c90f376d 100644 --- a/libc/unistd/exec.c +++ b/libc/unistd/exec.c @@ -45,7 +45,6 @@ libc_hidden_proto(execvp) libc_hidden_proto(memcpy) libc_hidden_proto(strchr) libc_hidden_proto(strlen) -libc_hidden_proto(strchrnul) libc_hidden_proto(execve) libc_hidden_proto(mmap) libc_hidden_proto(munmap) @@ -220,6 +219,8 @@ int execlp(const char *file, const char *arg, ...) /**********************************************************************/ #ifdef L_execvp +libc_hidden_proto(strchrnul) + /* Use a default path that matches glibc behavior, since SUSv3 says * this is implementation-defined. The default is current working dir, * /bin, and then /usr/bin. */ -- cgit v1.2.3