Changeset 04803bf in mainline for uspace/lib/c/include/malloc.h


Ignore:
Timestamp:
2011-03-21T22:00:17Z (15 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
143932e3
Parents:
b50b5af2 (diff), 7308e84 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes (needs fixes).

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/malloc.h

    rb50b5af2 r04803bf  
    3838#include <sys/types.h>
    3939
    40 extern void __heap_init(void);
    41 extern uintptr_t get_max_heap_addr(void);
    42 
    43 extern void *malloc(const size_t size);
    44 extern void *memalign(const size_t align, const size_t size);
     40extern void *malloc(const size_t size)
     41    __attribute__((malloc));
     42extern void *calloc(const size_t nmemb, const size_t size)
     43    __attribute__((malloc));
     44extern void *memalign(const size_t align, const size_t size)
     45    __attribute__((malloc));
    4546extern void *realloc(const void *addr, const size_t size);
    4647extern void free(const void *addr);
Note: See TracChangeset for help on using the changeset viewer.