forked from Imagelibrary/rtems
threadhandler.c: Fix spelling of __main() in prototype
This commit is contained in:
@@ -1,8 +1,11 @@
|
|||||||
|
/**
|
||||||
|
* @file
|
||||||
|
*
|
||||||
|
* Initialization Wrapper for all Threads.
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Thread Handler
|
* COPYRIGHT (c) 1989-2012.
|
||||||
*
|
|
||||||
*
|
|
||||||
* COPYRIGHT (c) 1989-2011.
|
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -49,7 +52,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__USE__MAIN__)
|
#if defined(__USE__MAIN__)
|
||||||
extern void _main(void);
|
extern void __main(void);
|
||||||
#define INIT_NAME __main
|
#define INIT_NAME __main
|
||||||
#define EXECUTE_GLOBAL_CONSTRUCTORS
|
#define EXECUTE_GLOBAL_CONSTRUCTORS
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user