Changes in uspace/lib/c/include/malloc.h [bc56f30:4805495] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/malloc.h
rbc56f30 r4805495 37 37 38 38 #include <stddef.h> 39 #include <_bits/decls.h>40 41 __C_DECLS_BEGIN;42 39 43 40 extern void *malloc(size_t size) … … 45 42 extern void *calloc(size_t nmemb, size_t size) 46 43 __attribute__((malloc)); 44 extern void *memalign(size_t align, size_t size) 45 __attribute__((malloc)); 47 46 extern void *realloc(void *addr, size_t size) 48 47 __attribute__((warn_unused_result)); 49 48 extern void free(void *addr); 50 51 __C_DECLS_END;52 53 #ifdef _HELENOS_SOURCE54 __HELENOS_DECLS_BEGIN;55 56 extern void *memalign(size_t align, size_t size)57 __attribute__((malloc));58 49 extern void *heap_check(void); 59 60 __HELENOS_DECLS_END;61 #endif62 50 63 51 #endif
Note:
See TracChangeset
for help on using the changeset viewer.