Clean up routes

This commit is contained in:
kamkow1
2025-06-16 01:38:33 +02:00
parent a532d5b03d
commit 64ae8365b6
3 changed files with 69 additions and 68 deletions

11
clonestr.h Normal file
View File

@ -0,0 +1,11 @@
#ifndef CLONESTR_H_
#define CLONESTR_H_
#define clonestr(str) \
({ \
char *__p = malloc(strlen((str))+1); \
strcpy(__p, (str)); \
(__p); \
})
#endif // CLONESTR_H_