1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2025-05-31 08:31:41 +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

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";