forked from Imagelibrary/rtems
2001-10-22 Joel Sherrill <joel@OARcorp.com>
* bootcard.c: Use __USE_INIT_FINI__ since USE_INIT_FINI pollutes the application namespace.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2001-10-22 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
|
* bootcard.c: Use __USE_INIT_FINI__ since USE_INIT_FINI
|
||||||
|
pollutes the application namespace.
|
||||||
|
|
||||||
2001-10-17 Joel Sherrill <joel@OARcorp.com>
|
2001-10-17 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* timerstub.c: New stub file for BSPs that don't have timer hardware.
|
* timerstub.c: New stub file for BSPs that don't have timer hardware.
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
#include <bsp.h>
|
#include <bsp.h>
|
||||||
|
|
||||||
#ifdef USE_INIT_FINI
|
#if defined(__USE_INIT_FINI__)
|
||||||
#include <stdlib.h> /* for atexit() */
|
#include <stdlib.h> /* for atexit() */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -36,7 +36,7 @@ posix_api_configuration_table BSP_POSIX_Configuration;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Initialize C++ global Ctor/Dtor and initializes exception handling. */
|
/* Initialize C++ global Ctor/Dtor and initializes exception handling. */
|
||||||
#if defined(USE_INIT_FINI)
|
#if defined(__USE_INIT_FINI__)
|
||||||
extern void _fini( void );
|
extern void _fini( void );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -120,7 +120,7 @@ int boot_card(int argc, char **argv, char **envp)
|
|||||||
* main() invoke the global constructors if there are any.
|
* main() invoke the global constructors if there are any.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef USE_INIT_FINI
|
#if defined(__USE_INIT_FINI__)
|
||||||
atexit( _fini );
|
atexit( _fini );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user