diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-08-02 20:01:26 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-08-02 20:01:26 +0000 |
commit | 0d55427b315c91071ca86a40fa54dbced758edbd (patch) | |
tree | 424dfdfceb58c09a5424704d9e6f4357a3d8f7b8 /c/src/exec/score/cpu/unix | |
parent | Added test cases: (diff) | |
download | rtems-0d55427b315c91071ca86a40fa54dbced758edbd.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'c/src/exec/score/cpu/unix')
-rw-r--r-- | c/src/exec/score/cpu/unix/cpu.c | 1 | ||||
-rw-r--r-- | c/src/exec/score/cpu/unix/cpu.h | 13 |
2 files changed, 13 insertions, 1 deletions
diff --git a/c/src/exec/score/cpu/unix/cpu.c b/c/src/exec/score/cpu/unix/cpu.c index 524067703d..0e51ce3dae 100644 --- a/c/src/exec/score/cpu/unix/cpu.c +++ b/c/src/exec/score/cpu/unix/cpu.c @@ -21,7 +21,6 @@ #include <stdio.h> #include <stdlib.h> -#include <unistd.h> #include <signal.h> #include <time.h> #include <sys/time.h> diff --git a/c/src/exec/score/cpu/unix/cpu.h b/c/src/exec/score/cpu/unix/cpu.h index b3e2c927e7..f67a64cb6b 100644 --- a/c/src/exec/score/cpu/unix/cpu.h +++ b/c/src/exec/score/cpu/unix/cpu.h @@ -58,6 +58,19 @@ 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> |