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


Ignore:
Timestamp:
2011-05-12T16:49:44Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f36787d7
Parents:
e80329d6 (diff), 750636a (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.

File:
1 edited

Legend:

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

    re80329d6 rb5e68c8  
    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 *calloc(const size_t nmemb, const size_t size);
    45 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));
    4646extern void *realloc(const void *addr, const size_t size);
    4747extern void free(const void *addr);
Note: See TracChangeset for help on using the changeset viewer.