[rtems commit] threadhandler.c: Fix spelling of __main() in prototype

Joel Sherrill joel at rtems.org
Mon Jun 11 17:58:05 UTC 2012


Module:    rtems
Branch:    master
Commit:    97bda25c0e5125954e02024a9adcf36dc599a89c
Changeset: http://git.rtems.org/rtems/commit/?id=97bda25c0e5125954e02024a9adcf36dc599a89c

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Mon Jun 11 12:26:21 2012 -0500

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

---

 cpukit/score/src/threadhandler.c |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/cpukit/score/src/threadhandler.c b/cpukit/score/src/threadhandler.c
index e89228e..ba53fc3 100644
--- a/cpukit/score/src/threadhandler.c
+++ b/cpukit/score/src/threadhandler.c
@@ -1,8 +1,11 @@
-/*
- *  Thread Handler
- *
+/**
+ *  @file
  *
- *  COPYRIGHT (c) 1989-2011.
+ *  Initialization Wrapper for all Threads.
+ */
+
+/*
+ *  COPYRIGHT (c) 1989-2012.
  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
@@ -49,7 +52,7 @@
 #endif
 
 #if defined(__USE__MAIN__)
-  extern void _main(void);
+  extern void __main(void);
   #define INIT_NAME __main
   #define EXECUTE_GLOBAL_CONSTRUCTORS
 #endif




More information about the vc mailing list