2003-02-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* src/privateenv.c: Fix prototype for free_user_env.
This commit is contained in:
Ralf Corsepius
2003-02-18 12:51:46 +00:00
parent 21595c79b3
commit a0d2c79a73
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
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