From 1da2d9732d58ee13a387293c736541ec2169782b Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 5 Jun 2018 09:08:44 +0200 Subject: [PATCH] added some extern "C" declarations to header files --- include/villas/utils.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/villas/utils.h b/include/villas/utils.h index 942087fbb..ba10966c8 100644 --- a/include/villas/utils.h +++ b/include/villas/utils.h @@ -23,6 +23,10 @@ #pragma once +#ifdef __cplusplus +extern "C" { +#endif + #include #include #include @@ -281,7 +285,6 @@ pid_t spawn(const char *name, char *const argv[]); /** Determines the string length as printed on the screen (ignores escable sequences). */ size_t strlenp(const char *str); - #ifdef __cplusplus } -#endif \ No newline at end of file +#endif