mirror of
https://github.com/Noratrieb/libuwuc.git
synced 2026-01-14 19:55:07 +01:00
make errno a static instead of TLS
This commit is contained in:
parent
00f78e9749
commit
7a16d84b25
15 changed files with 57 additions and 55 deletions
|
|
@ -1,8 +1,8 @@
|
|||
#include<stdlib.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int main(void) {
|
||||
char *alloc = (char*) malloc(10);
|
||||
*alloc = 1;
|
||||
*(alloc + 9) = 2;
|
||||
free(alloc);
|
||||
char *alloc = (char *)malloc(10);
|
||||
*alloc = 1;
|
||||
*(alloc + 9) = 2;
|
||||
free(alloc);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue