diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-04-24 16:49:36 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-04-24 16:49:36 +0000 |
| commit | 9908ed2b1eedfcea984fabfebb48a9a41d02a624 (patch) | |
| tree | 05364aa5ca56a331f5dfa5fbf936e6eedcd8848a /lib/libc | |
| parent | 7ce72dbaeceb9f8904b2d43418e329344ef5fb18 (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/stdlib/malloc.3 | 4 | ||||
| -rw-r--r-- | lib/libc/stdlib/malloc.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3 index 4271ff80c576..a78d83016394 100644 --- a/lib/libc/stdlib/malloc.3 +++ b/lib/libc/stdlib/malloc.3 @@ -56,8 +56,8 @@ .Fn reallocf "void *ptr" "size_t size" .Ft void .Fn free "void *ptr" -.Ft char * -.Va _malloc_options +.Ft const char * +.Va _malloc_options; .Ft void .Fn \*(lp*_malloc_message\*(rp "char *p1" "char *p2" "char *p3" "char *p4" .Sh DESCRIPTION diff --git a/lib/libc/stdlib/malloc.c b/lib/libc/stdlib/malloc.c index 43aad2d79211..d2371bdd69a2 100644 --- a/lib/libc/stdlib/malloc.c +++ b/lib/libc/stdlib/malloc.c @@ -267,7 +267,7 @@ static void *malloc_brk; static struct pgfree *px; /* compile-time options */ -char *_malloc_options; +const char *_malloc_options; /* Name of the current public function */ static char *malloc_func; |
