Ignore:
File:
1 edited

Legend:

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

    r44e8541 rbc56f30  
    3939#include <_bits/decls.h>
    4040
     41__C_DECLS_BEGIN;
     42
     43extern void *malloc(size_t size)
     44    __attribute__((malloc));
     45extern void *calloc(size_t nmemb, size_t size)
     46    __attribute__((malloc));
     47extern void *realloc(void *addr, size_t size)
     48    __attribute__((warn_unused_result));
     49extern void free(void *addr);
     50
     51__C_DECLS_END;
     52
    4153#ifdef _HELENOS_SOURCE
    4254__HELENOS_DECLS_BEGIN;
    4355
     56extern void *memalign(size_t align, size_t size)
     57    __attribute__((malloc));
    4458extern void *heap_check(void);
    4559
Note: See TracChangeset for help on using the changeset viewer.