mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2024-12-20 21:34:23 -05:00
add __BEGIN_DECLS / __END_DECLS
This commit is contained in:
parent
ced3b0e070
commit
a1e0d97864
@ -5,6 +5,8 @@
|
||||
|
||||
#include <malloc.h>
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
#ifndef H_MALLOC_PREFIX
|
||||
#define h_malloc malloc
|
||||
#define h_calloc calloc
|
||||
@ -103,4 +105,6 @@ size_t h_malloc_object_size_fast(void *ptr);
|
||||
// passed size matches the allocated size.
|
||||
void h_free_sized(void *ptr, size_t expected_size);
|
||||
|
||||
__END_DECLS
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user