Changeset dc5c303 in mainline for common/include/stdlib.h
- Timestamp:
- 2023-12-28T13:59:23Z (14 months ago)
- Children:
- 6b66de6b
- Parents:
- 42c2e65 (diff), f87ff8e (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. - git-author:
- boba-buba <120932204+boba-buba@…> (2023-12-28 13:59:23)
- git-committer:
- GitHub <noreply@…> (2023-12-28 13:59:23)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
common/include/stdlib.h
r42c2e65 rdc5c303 41 41 #include <_bits/decls.h> 42 42 #include <bsearch.h> 43 #include <malloc.h>44 43 #include <qsort.h> 45 44 … … 109 108 extern lldiv_t lldiv(long long, long long); 110 109 110 extern void *malloc(size_t size) 111 __attribute__((malloc)); 112 extern void *calloc(size_t nmemb, size_t size) 113 __attribute__((malloc)); 114 extern void *realloc(void *addr, size_t size) 115 __attribute__((warn_unused_result)); 116 extern void free(void *addr); 117 118 #ifdef _HELENOS_SOURCE 119 __HELENOS_DECLS_BEGIN; 120 121 extern void *memalign(size_t align, size_t size) 122 __attribute__((malloc)); 123 124 __HELENOS_DECLS_END; 125 #endif 126 111 127 __C_DECLS_END; 112 128
Note:
See TracChangeset
for help on using the changeset viewer.