threadhandler.c: Fix spelling of __main() in prototype

This commit is contained in:
Joel Sherrill
2012-06-11 12:26:21 -05:00
parent 8250503f21
commit 97bda25c0e

View File

@@ -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