1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2025-01-10 08:27:48 +05:30

asprintf.c: remove the ending superfluous comma in a macro

This commit is contained in:
パチュリー・ノーレッジ 2024-03-13 22:25:35 +03:00
parent 4ce2d32a8a
commit ad2babeb25
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

View File

@ -44,7 +44,7 @@ ssize_t asprintf(char** strp, char* format, ...) {
printf("[test] " caption ": %s\n", test_result ? "OK" : "failed"); \
if (test_result == false) \
exit(EXIT_FAILURE); \
} while (0);
} while (0)
int main(void) {
const char* world = " world";