Revert "malloc attribute changes"

wasn't meant for my local "master" branch ;)
This reverts commit 373022108b.
This commit is contained in:
Holger Lubitz
2007-08-06 03:36:35 +02:00
parent 4f66879653
commit 7815474495
3 changed files with 2 additions and 10 deletions

View File

@@ -135,7 +135,6 @@ static void ecollect_free ( void ) {
* Calling realloc() with a new size of zero is a valid way to free a
* memory block.
*/
__attribute__ ((malloc))
userptr_t urealloc ( userptr_t ptr, size_t new_size ) {
struct external_memory extmem;
userptr_t new = ptr;
@@ -209,7 +208,6 @@ userptr_t urealloc ( userptr_t ptr, size_t new_size ) {
*
* Memory is guaranteed to be aligned to a page boundary.
*/
__attribute__ ((malloc))
userptr_t umalloc ( size_t size ) {
return urealloc ( UNULL, size );
}