From 437366fdd294afca4f7074551ccaf68d4b6c4028 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 7 Apr 1997 21:25:42 +0000 Subject: removed noreturn from prototype to avoid warnings. --- c/src/lib/libbsp/m68k/efi332/include/efi332.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'c/src/lib/libbsp/m68k/efi332/include') diff --git a/c/src/lib/libbsp/m68k/efi332/include/efi332.h b/c/src/lib/libbsp/m68k/efi332/include/efi332.h index 1c1a3d0c17..f9a5584c1b 100644 --- a/c/src/lib/libbsp/m68k/efi332/include/efi332.h +++ b/c/src/lib/libbsp/m68k/efi332/include/efi332.h @@ -40,6 +40,15 @@ /* macros/functions */ -void reboot(void) __attribute__ ((noreturn)); + +/* + * This prototype really should have the noreturn attribute but + * that causes a warning since it appears that the routine does + * return. + * + * void reboot(void) __attribute__ ((noreturn)); + */ + +void reboot(void); #endif /* _EFI332_H_ */ -- cgit v1.2.3