From a1e0d978645a4f6d53f3898651a1cdd2a7625ac0 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Wed, 5 Dec 2018 03:46:35 -0500 Subject: [PATCH] add __BEGIN_DECLS / __END_DECLS --- h_malloc.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/h_malloc.h b/h_malloc.h index 697f33e..83879f0 100644 --- a/h_malloc.h +++ b/h_malloc.h @@ -5,6 +5,8 @@ #include +__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