Changeset 437366f in rtems


Ignore:
Timestamp:
Apr 7, 1997, 9:25:42 PM (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
3bc409c
Parents:
2bad8aa
Message:

removed noreturn from prototype to avoid warnings.

Location:
c/src/lib/libbsp/m68k
Files:
6 edited

Legend:

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

    r2bad8aa r437366f  
    4141
    4242/* macros/functions */
    43 void reboot(void) __attribute__ ((noreturn));
     43
     44/*
     45 *  This prototype really should have the noreturn attribute but
     46 *  that causes a warning since it appears that the routine does
     47 *  return.
     48 *
     49 *   void reboot(void) __attribute__ ((noreturn));
     50 */
     51
     52void reboot(void);
    4453
    4554#endif /* _EFI332_H_ */
  • c/src/lib/libbsp/m68k/efi332/start/start.c

    r2bad8aa r437366f  
    1111int main(const int argc, char * const argv[], char * const env[]);
    1212
    13 void dumby_start ()  __attribute__ ((noreturn));
     13/*
     14 *  This prototype really should have the noreturn attribute but
     15 *  that causes a warning since it appears that the routine does
     16 *  return.
     17 *
     18 *   void dumby_start ()  __attribute__ ((noreturn));
     19 */
     20
     21void dumby_start ();
    1422void  dumby_start() {
    1523
  • c/src/lib/libbsp/m68k/efi332/start332/start332.c

    r2bad8aa r437366f  
    1111int main(const int argc, char * const argv[], char * const env[]);
    1212
    13 void dumby_start ()  __attribute__ ((noreturn));
     13/*
     14 *  This prototype really should have the noreturn attribute but
     15 *  that causes a warning since it appears that the routine does
     16 *  return.
     17 *
     18 *   void dumby_start ()  __attribute__ ((noreturn));
     19 */
     20
     21void dumby_start ();
    1422void  dumby_start() {
    1523
  • c/src/lib/libbsp/m68k/efi68k/include/efi68k.h

    r2bad8aa r437366f  
    1717/* macro/function definitions */
    1818#if 0
    19 static void reboot(void) __attribute__ ((noreturn));
     19/*
     20 *  This prototype really should have the noreturn attribute but
     21 *  that causes a warning since it appears that the routine does
     22 *  return.
     23 *
     24 *   void dumby_start ()  __attribute__ ((noreturn));
     25 */
     26
     27static void reboot(void);
    2028__inline__ static void reboot() {asm("trap #15");}
    2129#else
  • c/src/lib/libbsp/m68k/efi68k/start/start.c

    r2bad8aa r437366f  
    1414int main(const int argc, char * const argv[], char * const env[]);
    1515
    16 void dumby_start ()  __attribute__ ((noreturn));
     16/*
     17 *  This prototype really should have the noreturn attribute but
     18 *  that causes a warning since it appears that the routine does
     19 *  return.
     20 *
     21 *   void dumby_start ()  __attribute__ ((noreturn));
     22 */
     23
     24void dumby_start ();
    1725void  dumby_start() {
    1826
  • c/src/lib/libbsp/m68k/efi68k/start68k/start68k.c

    r2bad8aa r437366f  
    1414int main(const int argc, char * const argv[], char * const env[]);
    1515
    16 void dumby_start ()  __attribute__ ((noreturn));
     16/*
     17 *  This prototype really should have the noreturn attribute but
     18 *  that causes a warning since it appears that the routine does
     19 *  return.
     20 *
     21 *   void dumby_start ()  __attribute__ ((noreturn));
     22 */
     23
     24void dumby_start ();
    1725void  dumby_start() {
    1826
Note: See TracChangeset for help on using the changeset viewer.