summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/unixlibc.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-09-18 20:54:05 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-09-18 20:54:05 +0000
commit0c35efe8167a8144daca8325366be5a7ae9ef8a7 (patch)
tree04652b5a724701846fbd0ce35efdbfe9ffe8e28c /cpukit/libcsupport/src/unixlibc.c
parentmodified to support non-GNU compilers and to use calloc rather than (diff)
downloadrtems-0c35efe8167a8144daca8325366be5a7ae9ef8a7.tar.bz2
dummy function added to satisfy ANSI
Diffstat (limited to 'cpukit/libcsupport/src/unixlibc.c')
-rw-r--r--cpukit/libcsupport/src/unixlibc.c10
1 files changed, 10 insertions, 0 deletions
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