make errno a static instead of TLS

This commit is contained in:
nora 2023-10-03 08:52:40 +02:00
parent 00f78e9749
commit 7a16d84b25
15 changed files with 57 additions and 55 deletions

View file

@ -1,9 +1,9 @@
#include<stdio.h>
#include <stdio.h>
int main(int argc, char* argv[]) {
char *self = argv[0];
char first = self[0];
if (first != '/') {
return 1;
}
int main(int argc, char *argv[]) {
char *self = argv[0];
char first = self[0];
if (first != '/') {
return 1;
}
}