diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-09-18 20:54:05 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-09-18 20:54:05 +0000 |
commit | 0c35efe8167a8144daca8325366be5a7ae9ef8a7 (patch) | |
tree | 04652b5a724701846fbd0ce35efdbfe9ffe8e28c /cpukit/libcsupport/src | |
parent | modified to support non-GNU compilers and to use calloc rather than (diff) | |
download | rtems-0c35efe8167a8144daca8325366be5a7ae9ef8a7.tar.bz2 |
dummy function added to satisfy ANSI
Diffstat (limited to 'cpukit/libcsupport/src')
-rw-r--r-- | cpukit/libcsupport/src/no_libc.c | 10 | ||||
-rw-r--r-- | cpukit/libcsupport/src/unixlibc.c | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/no_libc.c b/cpukit/libcsupport/src/no_libc.c index 9bb65f4df6..668764b44f 100644 --- a/cpukit/libcsupport/src/no_libc.c +++ b/cpukit/libcsupport/src/no_libc.c @@ -42,4 +42,14 @@ void _exit(int status) { } +#else + +/* remove ANSI errors. + * A program must contain at least one external-declaration + * (X3.159-1989 p.82,L3). + */ +void no_libc_dummy_function( void ) +{ +} + #endif diff --git a/cpukit/libcsupport/src/unixlibc.c b/cpukit/libcsupport/src/unixlibc.c index 2acd4fba8e..2f1e725b6a 100644 --- a/cpukit/libcsupport/src/unixlibc.c +++ b/cpukit/libcsupport/src/unixlibc.c @@ -8,4 +8,14 @@ void libc_init(int reentrant) { } +#else + +/* remove ANSI errors. + * A program must contain at least one external-declaration + * (X3.159-1989 p.82,L3). + */ +void unixlibc_dummy_function( void ) +{ +} + #endif |