diff --git a/src/header/bits_pthread/cbindgen.toml b/src/header/bits_pthread/cbindgen.toml index 4843655919835842230c8276ae1c05848fb299d7..5945b2bbe02e6554fc5c5502b353ffec5ed25916 100644 --- a/src/header/bits_pthread/cbindgen.toml +++ b/src/header/bits_pthread/cbindgen.toml @@ -11,19 +11,19 @@ after_includes = """ #define PTHREAD_ONCE_INIT ((pthread_once_t){0}) #define PTHREAD_RWLOCK_INITIALIZER ((pthread_rwlock_t){0}) -#define pthread_cleanup_push(routine, arg) do { \ - struct { \ - void (*routine)(void *); \ - void *arg; \ - void *prev; \ - } __relibc_internal_pthread_ll_entry = { \ - .routine = (void (*)(void *))(routine), \ - .arg = (void *)(arg), \ - }; \ +#define pthread_cleanup_push(routine, arg) do { \\ + struct { \\ + void (*routine)(void *); \\ + void *arg; \\ + void *prev; \\ + } __relibc_internal_pthread_ll_entry = { \\ + .routine = (void (*)(void *))(routine), \\ + .arg = (void *)(arg), \\ + }; \\ __relibc_internal_pthread_cleanup_push(&__relibc_internal_pthread_ll_entry); -#define pthread_cleanup_pop(execute) \ - __relibc_internal_pthread_cleanup_pop((execute)); \ +#define pthread_cleanup_pop(execute) \\ + __relibc_internal_pthread_cleanup_pop((execute)); \\ } while(0) """