diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-09-27 20:53:58 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-09-27 20:53:58 +0000 |
commit | 37f4c2d99fbf09142aeafe3a9908a81e283f8186 (patch) | |
tree | 04dc487b28113dc17f1c3c9ab2241390b4ed95ea /c/src/lib/libbsp/unix/posix/startup | |
parent | Fixed typo (diff) | |
download | rtems-37f4c2d99fbf09142aeafe3a9908a81e283f8186.tar.bz2 |
Modified UNIX simulator port so all references to native unix
stuff is in the executive source proper in the file cpu.c. This
should help avoid conflicts between RTEMS POSIX files and UNIX files.
Diffstat (limited to 'c/src/lib/libbsp/unix/posix/startup')
-rw-r--r-- | c/src/lib/libbsp/unix/posix/startup/bspclean.c | 15 | ||||
-rw-r--r-- | c/src/lib/libbsp/unix/posix/startup/bspstart.c | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/unix/posix/startup/exit.c | 1 | ||||
-rw-r--r-- | c/src/lib/libbsp/unix/posix/startup/setvec.c | 1 |
4 files changed, 7 insertions, 12 deletions
diff --git a/c/src/lib/libbsp/unix/posix/startup/bspclean.c b/c/src/lib/libbsp/unix/posix/startup/bspclean.c index 47d9548694..1fe2de4439 100644 --- a/c/src/lib/libbsp/unix/posix/startup/bspclean.c +++ b/c/src/lib/libbsp/unix/posix/startup/bspclean.c @@ -19,7 +19,6 @@ * $Id$ */ -#include <rtems.h> #include <bsp.h> #include <stdio.h> @@ -30,13 +29,13 @@ void bsp_cleanup( void ) { - /* - * Invoke any fatal error extension and "halt" - * By definition, rtems_fatal_error_occurred does not return. - */ + /* + * Invoke any fatal error extension and "halt" + * By definition, rtems_fatal_error_occurred does not return. + */ -fflush(stdout); -fflush(stderr); + fflush(stdout); + fflush(stderr); - rtems_fatal_error_occurred(0); + rtems_fatal_error_occurred(0); } diff --git a/c/src/lib/libbsp/unix/posix/startup/bspstart.c b/c/src/lib/libbsp/unix/posix/startup/bspstart.c index ed687f7319..f948d5a038 100644 --- a/c/src/lib/libbsp/unix/posix/startup/bspstart.c +++ b/c/src/lib/libbsp/unix/posix/startup/bspstart.c @@ -27,8 +27,6 @@ * $Id$ */ -#include <rtems.h> - #include <stdio.h> #include <stdlib.h> #include <fcntl.h> diff --git a/c/src/lib/libbsp/unix/posix/startup/exit.c b/c/src/lib/libbsp/unix/posix/startup/exit.c index ac3c840832..8e07dc0577 100644 --- a/c/src/lib/libbsp/unix/posix/startup/exit.c +++ b/c/src/lib/libbsp/unix/posix/startup/exit.c @@ -14,7 +14,6 @@ * $Id$ */ -#include <rtems.h> #include <bsp.h> #include <clockdrv.h> diff --git a/c/src/lib/libbsp/unix/posix/startup/setvec.c b/c/src/lib/libbsp/unix/posix/startup/setvec.c index 8d3aedceb9..6be1e50555 100644 --- a/c/src/lib/libbsp/unix/posix/startup/setvec.c +++ b/c/src/lib/libbsp/unix/posix/startup/setvec.c @@ -24,7 +24,6 @@ * $Id$ */ -#include <rtems.h> #include <bsp.h> /* |