Ignore:
Timestamp:
Oct 22, 2001, 11:56:21 AM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
1ec501c
Parents:
6244ab4
Message:

2001-10-22 Joel Sherrill <joel@…>

  • bootcard.c: Use USE_INIT_FINI since USE_INIT_FINI pollutes the application namespace.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/shared/bootcard.c

    r6244ab4 rac6ddad  
    1919#include <bsp.h>
    2020
    21 #ifdef USE_INIT_FINI
     21#if defined(__USE_INIT_FINI__)
    2222#include <stdlib.h> /* for atexit() */
    2323#endif
     
    3737
    3838/* Initialize C++ global Ctor/Dtor and initializes exception handling. */
    39 #if defined(USE_INIT_FINI)
     39#if defined(__USE_INIT_FINI__)
    4040extern void _fini( void );
    4141#endif
     
    121121   */
    122122
    123 #ifdef USE_INIT_FINI
     123#if defined(__USE_INIT_FINI__)
    124124   atexit( _fini );
    125125#endif
Note: See TracChangeset for help on using the changeset viewer.