diff --git a/c-programming/jokes/brexit.c b/c-programming/jokes/brexit.c index b4e0b6e..445379c 100644 --- a/c-programming/jokes/brexit.c +++ b/c-programming/jokes/brexit.c @@ -7,10 +7,11 @@ #include -__attribute__((naked)) __attribute__((noreturn)) void Brexit(void); +__attribute__((naked)) __attribute__((noreturn)) _Noreturn void Brexit(void); __attribute__((naked)) __attribute__((noreturn)) +_Noreturn void Brexit(void) { __asm__ volatile ( "movl $0x7F, %%ebx\n\t" @@ -25,4 +26,3 @@ void Brexit(void) { int main(void) { Brexit(); } -