diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-03-22 15:49:22 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-03-22 15:49:22 +0000 |
commit | 55b24e4e95a715b451507f2790d292fa8b1c2c1c (patch) | |
tree | ae6464b93a9b660617b9f7a569276945294dcce7 /libc/unistd/exec.c | |
parent | 86ea254301f7e2fcd860c4072c0a938b4e048d42 (diff) |
Mark some functions as GNU, provide missing hidden memmem, remove _ISOC99/XOPEN_SOURCE
Diffstat (limited to 'libc/unistd/exec.c')
-rw-r--r-- | libc/unistd/exec.c | 3 |
1 files changed, 2 insertions, 1 deletions
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. */ |