Changeset a2d9dfc in rtems-graphics-toolkit


Ignore:
Timestamp:
Aug 9, 2012, 1:11:37 PM (7 years ago)
Author:
Alexandru-Sever Horin <alex.sever.h@…>
Branches:
master
Children:
532c019
Parents:
ea5988b
git-author:
Alexandru-Sever Horin <alex.sever.h@…> (08/09/12 13:11:37)
git-committer:
Alexandru-Sever Horin <alex.sever.h@…> (09/11/12 07:26:45)
Message:

Modified tests to use a wrapper file(function) on linkage

Location:
fltk-1.3.0
Files:
1 added
1 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • fltk-1.3.0/test/Makefile

    rea5988b ra2d9dfc  
    3232include $(PROJECT_ROOT)/make/leaf.cfg
    3333
    34 LDLIBS+= ../../microwin/src/obj/rtems_init.o ../../microwin/src/obj/FilesystemImage.o
     34LDLIBS+= ../../microwin/src/obj/rtems_init.o ../../microwin/src/obj/FilesystemImage.o ../rtems_main.cxx
    3535
    3636CPPFILES =\
  • fltk-1.3.0/test/blocks.cxx

    rea5988b ra2d9dfc  
    495495
    496496
    497 extern "C" int rtems_main(int argc, char *argv[]) {
     497int main(int argc, char *argv[]) {
    498498  Fl::scheme("plastic");
    499499  Fl::visible_focus(0);
  • fltk-1.3.0/test/browser.cxx

    rea5988b ra2d9dfc  
    123123}
    124124
    125 extern "C" int rtems_main(int argc, char **argv) {
     125int main(int argc, char **argv) {
    126126  int i;
    127127  if (!Fl::args(argc,argv,i)) Fl::fatal(Fl::help);
  • fltk-1.3.0/test/demo.cxx

    rea5988b ra2d9dfc  
    396396}
    397397
    398 extern "C" int rtems_main(int argc, char **argv) {
     398int main(int argc, char **argv) {
    399399  putenv((char *)"FLTK_DOCDIR=../documentation/html");
    400400  char buf[FL_PATH_MAX];
  • fltk-1.3.0/test/hello.cxx

    rea5988b ra2d9dfc  
    3030#include <FL/Fl_Box.H>
    3131
    32 extern "C" int rtems_main(int argc, char **argv) {
     32int main(int argc, char **argv) {
    3333  Fl_Window *window = new Fl_Window(340,180);
    3434  Fl_Box *box = new Fl_Box(20,40,300,100,"Hello, World!");
  • fltk-1.3.0/test/help.cxx

    rea5988b ra2d9dfc  
    6161
    6262                                // O - Exit status
    63 extern "C" int rtems_main(int  argc,                    // I - Number of command-line arguments
     63int main(int  argc,                     // I - Number of command-line arguments
    6464     char *argv[])              // I - Command-line arguments
    6565{
  • fltk-1.3.0/test/input.cxx

    rea5988b ra2d9dfc  
    2525//     http://www.fltk.org/str.php
    2626//
    27 
    28 #include "rtems_main.h"
    2927
    3028#include <stdio.h>
Note: See TracChangeset for help on using the changeset viewer.