diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-08-04 22:18:45 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-08-04 22:18:45 +0000 |
commit | e7e016fdc22bc830d7ab77e96514fd937a3cd785 (patch) | |
tree | 034d022ddb31b871853361ee6f37d063c385c799 /c/src/exec/score/cpu/unix/cpu.h | |
parent | Split out event manager support function (diff) | |
download | rtems-e7e016fdc22bc830d7ab77e96514fd937a3cd785.tar.bz2 |
cleanup and optimization from Tony
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/score/cpu/unix/cpu.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/c/src/exec/score/cpu/unix/cpu.h b/c/src/exec/score/cpu/unix/cpu.h index f67a64cb6b..ee7239bc89 100644 --- a/c/src/exec/score/cpu/unix/cpu.h +++ b/c/src/exec/score/cpu/unix/cpu.h @@ -58,18 +58,6 @@ extern "C" { #endif -#if 0 -static inline X() -{ -#ifdef _POSIX_C_SOURCE - printf( "_POSIX_C_SOURCE", _POSIX_C_SOURCE ); -#endif -#ifdef __STRICT_ANSI__ - printf( "__STRICT_ANSI__", __STRICT_ANSI__ ); -#endif -} -#endif - #include <unistd.h> #include <setjmp.h> #include <signal.h> @@ -334,7 +322,7 @@ static inline X() * Word indices within a jmp_buf structure */ -#ifdef RTEMS_NEWLIB +#ifdef RTEMS_NEWLIB_SETJMP #define RP_OFF 6 #define SP_OFF 2 #define R3_OFF 10 @@ -356,7 +344,7 @@ static inline X() #define DP_OFF 26 #endif -#ifdef RTEMS_UNIXLIB +#ifdef RTEMS_UNIXLIB_SETJMP #define RP_OFF 0 #define SP_OFF 1 #define R3_OFF 4 |