Ignore:
File:
1 edited

Legend:

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

    rbc56f30 r4805495  
    3737
    3838#include <stddef.h>
    39 #include <_bits/decls.h>
    40 
    41 __C_DECLS_BEGIN;
    4239
    4340extern void *malloc(size_t size)
     
    4542extern void *calloc(size_t nmemb, size_t size)
    4643    __attribute__((malloc));
     44extern void *memalign(size_t align, size_t size)
     45    __attribute__((malloc));
    4746extern void *realloc(void *addr, size_t size)
    4847    __attribute__((warn_unused_result));
    4948extern void free(void *addr);
    50 
    51 __C_DECLS_END;
    52 
    53 #ifdef _HELENOS_SOURCE
    54 __HELENOS_DECLS_BEGIN;
    55 
    56 extern void *memalign(size_t align, size_t size)
    57     __attribute__((malloc));
    5849extern void *heap_check(void);
    59 
    60 __HELENOS_DECLS_END;
    61 #endif
    6250
    6351#endif
Note: See TracChangeset for help on using the changeset viewer.