Changeset 634e746 in rtems for c/src/lib/libbsp/m68k/gen68360


Ignore:
Timestamp:
01/29/97 00:28:47 (27 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
dcec5a4
Parents:
2f93371
Message:

All RTEMS system call implementation renamed to be rtems_*.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/gen68360/startup/bspstart.c

    r2f93371 r634e746  
    6565    /*
    6666     *  Init the RTEMS libio facility to provide UNIX-like system
    67      *  calls for use by newlib (ie: provide __open, __close, etc)
     67     *  calls for use by newlib (ie: provide __rtems_open, __rtems_close, etc)
    6868     *  Uses malloc() to get area for the iops, so must be after malloc init
    6969     */
     
    131131  error_code = 'S' << 24 | 'T' << 16;
    132132 
    133   if ((stdin_fd = __open("/dev/console", O_RDONLY, 0)) == -1)
     133  if ((stdin_fd = __rtems_open("/dev/console", O_RDONLY, 0)) == -1)
    134134    rtems_fatal_error_occurred( error_code | 'D' << 8 | '0' );
    135135 
    136   if ((stdout_fd = __open("/dev/console", O_WRONLY, 0)) == -1)
     136  if ((stdout_fd = __rtems_open("/dev/console", O_WRONLY, 0)) == -1)
    137137    rtems_fatal_error_occurred( error_code | 'D' << 8 | '1' );
    138138 
    139   if ((stderr_fd = __open("/dev/console", O_WRONLY, 0)) == -1)
     139  if ((stderr_fd = __rtems_open("/dev/console", O_WRONLY, 0)) == -1)
    140140    rtems_fatal_error_occurred( error_code | 'D' << 8 | '2' );
    141141 
Note: See TracChangeset for help on using the changeset viewer.