libc: fix conflicting, redundant getenv declaration in execvp

This commit is contained in:
K. Lange 2018-10-10 23:21:11 +09:00
parent 9db81febb6
commit fa56c864b1

View File

@ -1,10 +1,10 @@
#include <syscall.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <sys/stat.h>
extern char ** environ;
extern char * getenv(char *);
#define DEFAULT_PATH "/bin:/usr/bin"