correct variadic prototypes for execl* family
the old versions worked, but conflicted with programs which declared their own prototypes and generated warnings with some versions of gcc.
This commit is contained in:
+3
-3
@@ -81,10 +81,10 @@ int pause(void);
|
||||
pid_t fork(void);
|
||||
int execve(const char *, char *const [], char *const []);
|
||||
int execv(const char *, char *const []);
|
||||
int execle(const char *, ...);
|
||||
int execl(const char *, ...);
|
||||
int execle(const char *, const char *, ...);
|
||||
int execl(const char *, const char *, ...);
|
||||
int execvp(const char *, char *const []);
|
||||
int execlp(const char *, ...);
|
||||
int execlp(const char *, const char *, ...);
|
||||
int fexecve(int, char *const [], char *const []);
|
||||
void _exit(int);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user