From 632439cb1a6b2f122ecb88c7e7be29e2664166fd Mon Sep 17 00:00:00 2001 From: pancake Date: Thu, 18 Aug 2022 20:53:07 +0200 Subject: [PATCH] Fix symbol visibility for dmp64 --- libr/bin/format/dmp/dmp64.c | 4 ++-- libr/bin/format/dmp/dmp64.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libr/bin/format/dmp/dmp64.c b/libr/bin/format/dmp/dmp64.c index 17b2964e0f..fa248f50ec 100644 --- a/libr/bin/format/dmp/dmp64.c +++ b/libr/bin/format/dmp/dmp64.c @@ -148,7 +148,7 @@ static int r_bin_dmp64_init(struct r_bin_dmp64_obj_t *obj) { return true; } -R_API void r_bin_dmp64_free(struct r_bin_dmp64_obj_t *obj) { +R_IPI void r_bin_dmp64_free(struct r_bin_dmp64_obj_t *obj) { if (!obj) { return; } @@ -162,7 +162,7 @@ R_API void r_bin_dmp64_free(struct r_bin_dmp64_obj_t *obj) { free (obj); } -struct r_bin_dmp64_obj_t *r_bin_dmp64_new_buf(RBuffer* buf) { +R_IPI struct r_bin_dmp64_obj_t *r_bin_dmp64_new_buf(RBuffer* buf) { struct r_bin_dmp64_obj_t *obj = R_NEW0 (struct r_bin_dmp64_obj_t); if (!obj) { return NULL; diff --git a/libr/bin/format/dmp/dmp64.h b/libr/bin/format/dmp/dmp64.h index 9f06da8019..ad7213f8af 100644 --- a/libr/bin/format/dmp/dmp64.h +++ b/libr/bin/format/dmp/dmp64.h @@ -26,7 +26,7 @@ struct r_bin_dmp64_obj_t { Sdb *kv; }; -void r_bin_dmp64_free(struct r_bin_dmp64_obj_t *obj); -struct r_bin_dmp64_obj_t *r_bin_dmp64_new_buf(RBuffer* buf); +R_IPI void r_bin_dmp64_free(struct r_bin_dmp64_obj_t *obj); +R_IPI struct r_bin_dmp64_obj_t *r_bin_dmp64_new_buf(RBuffer* buf); #endif /* DMP64_H */