diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2000-08-24 16:11:59 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2000-08-24 16:11:59 +0000 |
commit | a334e5ef7267195d7ee285c89e9e4fa4d57347da (patch) | |
tree | 8b3aaf9ca2fab8acf961fa2b41e3c6eb1a324a4e /newlib/libc/stdlib/mlock.c | |
parent | f5589e41184c76a72991289c872b5a608e6a7731 (diff) | |
download | newlib-a334e5ef7267195d7ee285c89e9e4fa4d57347da.zip newlib-a334e5ef7267195d7ee285c89e9e4fa4d57347da.tar.gz newlib-a334e5ef7267195d7ee285c89e9e4fa4d57347da.tar.bz2 |
2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
* libc/stdlib/envlock.c: changed documented "__env_lock" and
"__env_unlock" prototype from "void *" or "char *" to
"struct _reent *" to match real function. Also added include
of envlock.h.
* libc/stdlib/mlock.c: changed documented "__malloc_lock" and
"__malloc_unlock" prototype from "void *" or "char *" to
"struct _reent *" to match real function.
* libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
prototypes (for getenv_r.c and setenv_r.c).
Diffstat (limited to 'newlib/libc/stdlib/mlock.c')
-rw-r--r-- | newlib/libc/stdlib/mlock.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/newlib/libc/stdlib/mlock.c b/newlib/libc/stdlib/mlock.c index e7f7242..485d0d5 100644 --- a/newlib/libc/stdlib/mlock.c +++ b/newlib/libc/stdlib/mlock.c @@ -9,15 +9,15 @@ INDEX ANSI_SYNOPSIS #include <malloc.h> - void __malloc_lock (void *<[reent]>); - void __malloc_unlock (void *<[reent]>); + void __malloc_lock (struct _reent *<[reent]>); + void __malloc_unlock (struct _reent *<[reent]>); TRAD_SYNOPSIS void __malloc_lock(<[reent]>) - char *<[reent]>; + struct _reent *<[reent]>; void __malloc_unlock(<[reent]>) - char *<[reent]>; + struct _reent *<[reent]>; DESCRIPTION The <<malloc>> family of routines call these functions when they need |