Changeset c486e917 in rtems for c/src/lib/libbsp/m68k/efi332


Ignore:
Timestamp:
Jun 18, 1996, 7:06:19 PM (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
8d7a1d76
Parents:
7d74395f
Message:

changed reboot to a macro to avoid the "noreturn returns" warning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/efi332/include/efi332.h

    r7d74395f rc486e917  
    4141
    4242/* macros/functions */
     43#if 0
    4344static void reboot(void) __attribute__ ((noreturn));
    4445__inline__ static void reboot() {asm("trap #15");}
     46#else
     47#define reboot() do {asm("trap #15");} while(0)
     48#endif
    4549
    4650#endif /* _EFI332_H_ */
Note: See TracChangeset for help on using the changeset viewer.