From 2001b310d79074b880c3ed2de97cf1d8204ff5cc Mon Sep 17 00:00:00 2001 From: Intel A80486DX2-66 Date: Sun, 4 Feb 2024 11:38:43 +0300 Subject: [PATCH] C: jokes/brexit.c: add `_Noreturn`, remove last empty line --- c-programming/jokes/brexit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); } -