1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2024-12-26 11:30:03 +05:30

C: jokes/brexit.c: add _Noreturn, remove last empty line

This commit is contained in:
Intel A80486DX2-66 2024-02-04 11:38:43 +03:00
parent de0b86824d
commit 2001b310d7
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

View File

@ -7,10 +7,11 @@
#include <stdio.h>
__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();
}