Merger from rtems-4-6-branch.

This commit is contained in:
Ralf Corsepius
2003-02-28 08:06:58 +00:00
parent f0daa4c4eb
commit 83eda9b994
2 changed files with 7 additions and 1 deletions

View File

@@ -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]).

View File

@@ -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