From a3277c0d20156528bf1d3008f122a592c21226a9 Mon Sep 17 00:00:00 2001 From: Giovanni Bussi Date: Wed, 12 Oct 2022 12:43:59 +0200 Subject: [PATCH] Avoid compiler warnings This makes sure there are no compiler warning when compiling using C and -D__PLUMED_WRAPPER_EXTERN=0 --- src/wrapper/Plumed.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wrapper/Plumed.h b/src/wrapper/Plumed.h index 8cc27150e8..10bb6628f7 100644 --- a/src/wrapper/Plumed.h +++ b/src/wrapper/Plumed.h @@ -553,7 +553,7 @@ #define __PLUMED_WRAPPER_C_BEGIN __PLUMED_WRAPPER_ANONYMOUS_BEGIN inline #define __PLUMED_WRAPPER_C_END __PLUMED_WRAPPER_ANONYMOUS_END #else -#define __PLUMED_WRAPPER_C_BEGIN static +#define __PLUMED_WRAPPER_C_BEGIN __PLUMED_WRAPPER_STATIC_INLINE #define __PLUMED_WRAPPER_C_END #endif