Changeset 85047f02 in rtems


Ignore:
Timestamp:
Mar 25, 1998, 2:00:41 PM (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
c4e09029
Parents:
0f26250
Message:

Corrected definition of main and boot_card to be more ANSI compliant.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/shared/main.c

    r0f26250 r85047f02  
    3030rtems_interrupt_level bsp_isr_level;
    3131
    32 int main(int argc, char **argv, char **environ)
     32int main(int argc, char **argv)
    3333{
    3434
     
    4343}
    4444
    45 void boot_card(void)
     45int boot_card(int argc, char **argv)
    4646{
    4747  int status;
     
    5454    rtems_initialize_executive_early( &BSP_Configuration, &Cpu_table );
    5555
    56   status = main(0, 0, 0);
     56  status = main(argc, argv);
    5757
    5858  bsp_cleanup(); 
    5959
    6060  exit( status );
     61
     62  return status;
    6163}
    6264
Note: See TracChangeset for help on using the changeset viewer.