From a043c379c0477ed57fafeb51421add85f65fc532 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Thu, 18 May 2023 01:08:11 +0200 Subject: [PATCH] Update user code as per new liberty --- example/exm-header.h | 2 -- example/exm-lib.c | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/example/exm-header.h b/example/exm-header.h index 6779271b..03d0b144 100644 --- a/example/exm-header.h +++ b/example/exm-header.h @@ -2,9 +2,7 @@ #define MY_HEADER // Request M*LIB to not inline functions if not the library source -#ifndef M_USE_EXTERN_DEF #define M_USE_EXTERN_DECL -#endif #include "m-string.h" #include "m-array.h" diff --git a/example/exm-lib.c b/example/exm-lib.c index aba0530c..d40d8500 100644 --- a/example/exm-lib.c +++ b/example/exm-lib.c @@ -1,4 +1,5 @@ // Request M*LIB to define functions // This include both m-string functions and array_str templated functions +// Defining M_USE_EXTERN_DEF override M_USE_EXTERN_DECL definition #define M_USE_EXTERN_DEF #include "exm-header.h"