Ignore:
File:
1 edited

Legend:

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

    r63f8966 r47b7006  
    3838#include <sys/types.h>
    3939
    40 extern void __heap_init(void);
    4140extern uintptr_t get_max_heap_addr(void);
    4241
    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);
     42extern void *malloc(const size_t size)
     43    __attribute__((malloc));
     44extern void *calloc(const size_t nmemb, const size_t size)
     45    __attribute__((malloc));
     46extern void *memalign(const size_t align, const size_t size)
     47    __attribute__((malloc));
    4648extern void *realloc(const void *addr, const size_t size);
    4749extern void free(const void *addr);
Note: See TracChangeset for help on using the changeset viewer.