prevent buf from escaping into global namespace

This commit is contained in:
Joey Castillo 2022-05-09 10:57:16 -04:00
parent 0c87114ee1
commit 03b616da62

View File

@ -255,7 +255,7 @@ int _write(int file, char *ptr, int len) {
return 0;
}
char buf[256] = {0};
static char buf[256] = {0};
int _read(int file, char *ptr, int len) {
(void)file;