about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-12-19 08:44:05 +0000
committerUlrich Drepper <drepper@redhat.com>1999-12-19 08:44:05 +0000
commit77c80d6591391544bd5e29d6607ef38f8fe709b7 (patch)
treefd301ba383c2630bf9c92a249aa5775a56d4f2b8
parentae177b9c8a14da52538db5749eee90f08f5aedea (diff)
downloadglibc-77c80d6591391544bd5e29d6607ef38f8fe709b7.tar.gz
glibc-77c80d6591391544bd5e29d6607ef38f8fe709b7.tar.xz
glibc-77c80d6591391544bd5e29d6607ef38f8fe709b7.zip
Update.
	* malloc/malloc.h: Make malloc, calloc, realloc, valloc, pvalloc,
	and __default_morecore with __attribute_malloc__.
-rw-r--r--ChangeLog4
-rw-r--r--malloc/malloc.h3
2 files changed, 3 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index d3d08a188a..72dbc99f23 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -16,8 +16,8 @@
 	__attribute_malloc__.
 	* stdlib/stdlib.h: Make malloc, calloc, realloc, and valloc with
 	__attribute_malloc__.
-	* malloc/malloc.h: Make malloc, calloc, realloc, valloc, pvallc,
-	__morecore, and __default_morecore with __attribute_malloc__.
+	* malloc/malloc.h: Make malloc, calloc, realloc, valloc, pvalloc,
+	and __default_morecore with __attribute_malloc__.
 	Provide default definition for __attribute_malloc__.
 	* libio/stdio.h: Make tempnam with __attribute_malloc__.
 
diff --git a/malloc/malloc.h b/malloc/malloc.h
index 78deff0738..15d4a44c1d 100644
--- a/malloc/malloc.h
+++ b/malloc/malloc.h
@@ -147,8 +147,7 @@ extern __malloc_ptr_t  pvalloc __MALLOC_P ((size_t __size))
 
 /* Underlying allocation function; successive calls should return
    contiguous pieces of memory.  */
-extern __malloc_ptr_t (*__morecore) __MALLOC_PMT ((ptrdiff_t __size))
-       __attribute_malloc__;
+extern __malloc_ptr_t (*__morecore) __MALLOC_PMT ((ptrdiff_t __size));
 
 /* Default value of `__morecore'.  */
 extern __malloc_ptr_t __default_morecore __MALLOC_P ((ptrdiff_t __size))