summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-08-05 16:51:45 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-08-05 16:51:45 +0000
commit8b08935eb8e68823084142e42104348ad3a74581 (patch)
treef20a2edbc3ef49e66aa4fa3a256703dd29ee2fc1 /cpukit/libcsupport
parent2008-08-05 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-8b08935eb8e68823084142e42104348ad3a74581.tar.bz2
2008-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 537/bsps * libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c, libcsupport/src/no_libc.c, libcsupport/src/unixlibc.c: Eliminate vestiges of ticks_per_timeslice controlling newlib reentrancy. The parameter was ignored in libc_init().
Diffstat (limited to 'cpukit/libcsupport')
-rw-r--r--cpukit/libcsupport/include/rtems/libcsupport.h2
-rw-r--r--cpukit/libcsupport/src/newlibc.c2
-rw-r--r--cpukit/libcsupport/src/no_libc.c3
-rw-r--r--cpukit/libcsupport/src/unixlibc.c2
4 files changed, 4 insertions, 5 deletions
diff --git a/cpukit/libcsupport/include/rtems/libcsupport.h b/cpukit/libcsupport/include/rtems/libcsupport.h
index efee7eb774..fb5ce94c14 100644
--- a/cpukit/libcsupport/include/rtems/libcsupport.h
+++ b/cpukit/libcsupport/include/rtems/libcsupport.h
@@ -36,7 +36,7 @@ void RTEMS_Malloc_Initialize(
extern void malloc_dump(void);
extern void malloc_walk(size_t source, size_t printf_enabled);
-extern void libc_init(int reentrant);
+extern void libc_init(void);
extern int host_errno(void);
extern void fix_syscall_errno(void);
extern size_t malloc_free_space(void);
diff --git a/cpukit/libcsupport/src/newlibc.c b/cpukit/libcsupport/src/newlibc.c
index ff0ef21403..013ce93413 100644
--- a/cpukit/libcsupport/src/newlibc.c
+++ b/cpukit/libcsupport/src/newlibc.c
@@ -188,7 +188,7 @@ rtems_extension libc_delete_hook(
void
-libc_init(int reentrant)
+libc_init(void)
{
_REENT = &libc_global_reent;
diff --git a/cpukit/libcsupport/src/no_libc.c b/cpukit/libcsupport/src/no_libc.c
index afcc30b49c..fcf1d64ff9 100644
--- a/cpukit/libcsupport/src/no_libc.c
+++ b/cpukit/libcsupport/src/no_libc.c
@@ -23,8 +23,7 @@
#include <stdlib.h> /* for free() */
-void libc_init(
- int reentrant
+void libc_init(void)
)
{
}
diff --git a/cpukit/libcsupport/src/unixlibc.c b/cpukit/libcsupport/src/unixlibc.c
index f1bf162f24..5d0fa0effb 100644
--- a/cpukit/libcsupport/src/unixlibc.c
+++ b/cpukit/libcsupport/src/unixlibc.c
@@ -17,7 +17,7 @@
#if defined(RTEMS_UNIXLIB)
-void libc_init(int reentrant)
+void libc_init(void)
{
}