cc -pthread -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations signal/struct-sigevent-sigev_notify.c -o signal/struct-sigevent-sigev_notify -D_POSIX_C_SOURCE=202405L -lm -lpthread -lrt relibc getrlimit(3, 0x7ffffffffc80): not implemented relibc getrlimit(3, 0x7ffffffffbb0): not implemented relibc getrlimit(9, 0x7ffffffffb70): not implemented relibc getrlimit(9, 0x7ffffffffba0): not implemented relibc getrlimit(5, 0x7ffffffffba0): not implemented relibc getrlimit(9, 0x7ffffffffb70): not implemented signal/struct-sigevent-sigev_notify.c:2:17: error: 'struct sigevent' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 2 | void foo(struct sigevent* bar) | ^~~~~~~~ signal/struct-sigevent-sigev_notify.c: In function 'foo': signal/struct-sigevent-sigev_notify.c:4:24: error: invalid use of undefined type 'struct sigevent' 4 | int *qux = &bar->sigev_notify; | ^~ cc1: all warnings being treated as errors