[libc] Move getenv back to stdlib

Why was I trying to put getenv in stdio? It belongs in stdlib.
This commit is contained in:
Justin C. Miller
2022-02-10 20:39:03 -08:00
parent 195b635f74
commit d7bf156b30
2 changed files with 1 additions and 5 deletions

View File

@@ -116,10 +116,6 @@ int feof(FILE *stream);
int ferror(FILE *stream);
void perror(const char *s);
// Environment functions
//
char * getenv(const char *name);
#ifdef __cplusplus
} // extern "C"
#endif

View File

@@ -1,3 +1,3 @@
#include <stdio.h>
#include <stdlib.h>
char * getenv(const char *name) { return nullptr; }