Browse Source

add hidden defs for execv/execlp for completeness

Mike Frysinger 18 years ago
parent
commit
840bd4dfea
1 changed files with 4 additions and 0 deletions
  1. 4 0
      libc/unistd/exec.c

+ 4 - 0
libc/unistd/exec.c

@@ -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
 /**********************************************************************/