ppc: Move noreturn attribute

Otherwise GCC 4.2.4 complains that panic() marked noreturn does return.

Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Signed-off-by: Alexander Graf <agraf@suse.de>

git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@914 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Andreas Färber
2010-10-17 12:15:44 +00:00
committed by Alexander Graf
parent 380f978e45
commit dd6027703d
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@
/* misc.c */
extern void fatal_error( const char *str );
extern void exit( int status );
extern void exit( int status ) __attribute__ ((noreturn));
/* start.S */
extern void flush_icache_range( char *start, char *stop );

View File

@@ -35,7 +35,7 @@ void
exit( int status __attribute__ ((unused)))
{
for (;;);
} __attribute__ ((noreturn))
}
void
fatal_error( const char *err )