[libc] Move getenv back to stdlib
Why was I trying to put getenv in stdio? It belongs in stdlib.
This commit is contained in:
@@ -116,10 +116,6 @@ int feof(FILE *stream);
|
|||||||
int ferror(FILE *stream);
|
int ferror(FILE *stream);
|
||||||
void perror(const char *s);
|
void perror(const char *s);
|
||||||
|
|
||||||
// Environment functions
|
|
||||||
//
|
|
||||||
char * getenv(const char *name);
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} // extern "C"
|
} // extern "C"
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
#include <stdio.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
char * getenv(const char *name) { return nullptr; }
|
char * getenv(const char *name) { return nullptr; }
|
||||||
Reference in New Issue
Block a user