diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-02-28 08:06:58 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-02-28 08:06:58 +0000 |
commit | 83eda9b994bfc70c8a1b1cf835d3729db1150335 (patch) | |
tree | bcf1f14576c0cbb38d477d155868c76c187e6284 /cpukit/libcsupport | |
parent | Remove corrupted ChangeLog entry. (diff) | |
download | rtems-83eda9b994bfc70c8a1b1cf835d3729db1150335.tar.bz2 |
Merger from rtems-4-6-branch.
Diffstat (limited to 'cpukit/libcsupport')
-rw-r--r-- | cpukit/libcsupport/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/libcsupport/src/privateenv.c | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/cpukit/libcsupport/ChangeLog b/cpukit/libcsupport/ChangeLog index 557656a0c2..56d65631db 100644 --- a/cpukit/libcsupport/ChangeLog +++ b/cpukit/libcsupport/ChangeLog @@ -4,6 +4,10 @@ * src/termios.c (rtems_termios_open): Fixed code the incorrectly checked that the wrong pointer during allocation was NULL. +2003-02-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de> + + * src/privateenv.c: Fix prototype for free_user_env. + 2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * configure.ac: AM_INIT_AUTOMAKE([1.7.2]). diff --git a/cpukit/libcsupport/src/privateenv.c b/cpukit/libcsupport/src/privateenv.c index 37d7805eb4..a4c71b964a 100644 --- a/cpukit/libcsupport/src/privateenv.c +++ b/cpukit/libcsupport/src/privateenv.c @@ -34,8 +34,10 @@ extern Chain_Control rtems_filesystem_mount_table_control; * thread dispatching disabled! */ static void -free_user_env(rtems_user_env_t *env) +free_user_env(void *venv) { + rtems_user_env_t *env = (rtems_user_env_t*) venv ; + if (env != &rtems_global_user_env #ifdef HAVE_USERENV_REFCNT && --env->refcnt <= 0 |