From ebd6a7dd85ee7f269f70290638540c54be6386ff Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 29 Jul 2003 11:16:14 +0000 Subject: Minor constification. --- lib/libc/stdlib/malloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libc/stdlib') diff --git a/lib/libc/stdlib/malloc.c b/lib/libc/stdlib/malloc.c index 778a17e..d017d43 100644 --- a/lib/libc/stdlib/malloc.c +++ b/lib/libc/stdlib/malloc.c @@ -303,7 +303,7 @@ void (*_malloc_message)(const char *p1, const char *p2, const char *p3, const char *p4) = wrtmessage; static void -wrterror(char *p) +wrterror(char const *p) { suicide = 1; @@ -861,7 +861,7 @@ irealloc(void *ptr, size_t size) */ static __inline__ void -free_pages(void *ptr, u_long index, struct pginfo *info) +free_pages(void *ptr, u_long index, struct pginfo const *info) { u_long i; struct pgfree *pf, *pt=0; -- cgit v1.1