diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-04-07 21:25:42 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-04-07 21:25:42 +0000 |
commit | 437366fdd294afca4f7074551ccaf68d4b6c4028 (patch) | |
tree | 29692899e7a761e9d2b147e6945192eafc44f01d /c/src/lib/libbsp/m68k/efi332/start/start.c | |
parent | added cast to eliminate warning. (diff) | |
download | rtems-437366fdd294afca4f7074551ccaf68d4b6c4028.tar.bz2 |
removed noreturn from prototype to avoid warnings.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/m68k/efi332/start/start.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/m68k/efi332/start/start.c b/c/src/lib/libbsp/m68k/efi332/start/start.c index 214f9bb564..63ed7be2f3 100644 --- a/c/src/lib/libbsp/m68k/efi332/start/start.c +++ b/c/src/lib/libbsp/m68k/efi332/start/start.c @@ -10,7 +10,15 @@ char * const __env[]= {""}; int main(const int argc, char * const argv[], char * const env[]); -void dumby_start () __attribute__ ((noreturn)); +/* + * This prototype really should have the noreturn attribute but + * that causes a warning since it appears that the routine does + * return. + * + * void dumby_start () __attribute__ ((noreturn)); + */ + +void dumby_start (); void dumby_start() { /* We need to by-pass the link instruction since the RAM chip- |