From 634e746544cc226ef388880bb1d3ec0144ff29db Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 29 Jan 1997 00:28:47 +0000 Subject: All RTEMS system call implementation renamed to be __rtems_*. --- c/src/lib/libbsp/m68k/gen68302/startup/bspstart.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'c/src/lib/libbsp/m68k/gen68302/startup/bspstart.c') diff --git a/c/src/lib/libbsp/m68k/gen68302/startup/bspstart.c b/c/src/lib/libbsp/m68k/gen68302/startup/bspstart.c index f8cb057317..1aa225d0c6 100644 --- a/c/src/lib/libbsp/m68k/gen68302/startup/bspstart.c +++ b/c/src/lib/libbsp/m68k/gen68302/startup/bspstart.c @@ -68,7 +68,7 @@ void bsp_libc_init() /* * Init the RTEMS libio facility to provide UNIX-like system - * calls for use by newlib (ie: provide __open, __close, etc) + * calls for use by newlib (ie: provide __rtems_open, __rtems_close, etc) * Uses malloc() to get area for the iops, so must be after malloc init */ @@ -134,13 +134,13 @@ bsp_postdriver_hook(void) error_code = 'S' << 24 | 'T' << 16; - if ((stdin_fd = __open("/dev/console", O_RDONLY, 0)) == -1) + if ((stdin_fd = __rtems_open("/dev/console", O_RDONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '0' ); - if ((stdout_fd = __open("/dev/console", O_WRONLY, 0)) == -1) + if ((stdout_fd = __rtems_open("/dev/console", O_WRONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '1' ); - if ((stderr_fd = __open("/dev/console", O_WRONLY, 0)) == -1) + if ((stderr_fd = __rtems_open("/dev/console", O_WRONLY, 0)) == -1) rtems_fatal_error_occurred( error_code | 'D' << 8 | '2' ); if ((stdin_fd != 0) || (stdout_fd != 1) || (stderr_fd != 2)) -- cgit v1.2.3