OSDN Git Service

add hidden defs for execv/execlp for completeness
authorMike Frysinger <vapier@gentoo.org>
Sat, 22 Dec 2007 06:23:15 +0000 (06:23 -0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 22 Dec 2007 06:23:15 +0000 (06:23 -0000)
libc/unistd/exec.c

index b2817af..b91ce0c 100644 (file)
@@ -29,6 +29,8 @@
 
 libc_hidden_proto(execl)
 libc_hidden_proto(execle)
+libc_hidden_proto(execlp)
+libc_hidden_proto(execv)
 libc_hidden_proto(execvp)
 
 libc_hidden_proto(memcpy)
@@ -129,6 +131,7 @@ int execv(__const char *path, char *__const argv[])
 {
        return execve(path, argv, __environ);
 }
+libc_hidden_def(execv)
 
 #endif
 /**********************************************************************/
@@ -204,6 +207,7 @@ int execlp(const char *file, const char *arg, ...)
 
        return n;
 }
+libc_hidden_def(execlp)
 
 #endif
 /**********************************************************************/