fix various errors in function signatures/prototypes found by nsz

This commit is contained in:
Rich Felker
2011-09-13 21:09:35 -04:00
parent 5e9deea003
commit 13cd969552
9 changed files with 19 additions and 16 deletions

View File

@ -4,11 +4,12 @@
int __posix_spawnx(pid_t *, const char *,
int (*)(const char *, char *const *),
const posix_spawn_file_actions_t *,
const posix_spawnattr_t *, char **, char **);
const posix_spawnattr_t *, char *const [], char *const []);
int posix_spawnp(pid_t *res, const char *file,
const posix_spawn_file_actions_t *fa,
const posix_spawnattr_t *attr, char **argv, char **envp)
const posix_spawnattr_t *attr,
char *const argv[], char *const envp[])
{
return __posix_spawnx(res, file, execvp, fa, attr, argv, envp);
}