[rtems-graphics-toolkit commit] Added comment to rtems_main.cxx

Gedare Bloom gedare at rtems.org
Tue Dec 24 15:24:16 UTC 2013


Module:    rtems-graphics-toolkit
Branch:    master
Commit:    532c0192bcafcfb6fc296d9a4aaae272d530d42f
Changeset: http://git.rtems.org/rtems-graphics-toolkit/commit/?id=532c0192bcafcfb6fc296d9a4aaae272d530d42f

Author:    Alexandru-Sever Horin <alex.sever.h at gmail.com>
Date:      Thu Aug  9 16:22:52 2012 +0300

Added comment to rtems_main.cxx

---

 fltk-1.3.0/rtems_main.cxx |   19 +++----------------
 1 files changed, 3 insertions(+), 16 deletions(-)

diff --git a/fltk-1.3.0/rtems_main.cxx b/fltk-1.3.0/rtems_main.cxx
index 8808686..2afab5b 100644
--- a/fltk-1.3.0/rtems_main.cxx
+++ b/fltk-1.3.0/rtems_main.cxx
@@ -1,22 +1,9 @@
-//#ifndef RTEMS_MAIN_H
-//#define RTEMS_MAIN_H
+/* Added to function as a wrapper from 
+ * nano-X rtems_main call and usual main entry-point
+ */
 
-//transform call to main to call to rtems_main
-//#define main(x,y) rtems_main(x,y)
-//#define main(x)   rtems_main(x)
-//#define main()    rtems_main()
-
-//extern "C" int rtems_main(int argc, char **argv)
-//{
-//  main(argc, argv);
-//}
-//
-//
-//#endif
-//extern "C" 
 extern int main(int argc, char **argv);
 
-
 extern "C" int rtems_main(int argc, char **argv)
 {
   using namespace std;




More information about the vc mailing list