diff options
author | phk <phk@FreeBSD.org> | 2003-07-29 11:16:14 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-07-29 11:16:14 +0000 |
commit | ebd6a7dd85ee7f269f70290638540c54be6386ff (patch) | |
tree | e85060103192d5a4b332524cfb8763ebdb537050 /lib | |
parent | 2d9e322722014438e1fb65af6b644a56b99e8680 (diff) | |
download | FreeBSD-src-ebd6a7dd85ee7f269f70290638540c54be6386ff.zip FreeBSD-src-ebd6a7dd85ee7f269f70290638540c54be6386ff.tar.gz |
Minor constification.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/stdlib/malloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |