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/efi68k/include/efi68k.h

    r7d74395f rc486e917  
    1616
    1717/* macro/function definitions */
     18#if 0
    1819static void reboot(void) __attribute__ ((noreturn));
    19 __inline__ static void reboot(void) {asm("trap #15");}
     20__inline__ static void reboot() {asm("trap #15");}
     21#else
     22#define reboot() do {asm("trap #15");} while(0)
     23#endif
     24
    2025     
    2126#endif /* _EFI68k_H_ */
Note: See TracChangeset for help on using the changeset viewer.