Fix `#ifdef __cplusplus` for blocks `extern "C"` in config.h.cmake.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/174/head
Slávek Banko 2 years ago
parent cb87252f7d
commit e9571392f6
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -1153,6 +1153,7 @@ __END_DECLS
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"
{
#endif #endif
#if !defined(HAVE_VSNPRINTF_PROTO) #if !defined(HAVE_VSNPRINTF_PROTO)
int vsnprintf(char *str, size_t n, char const *fmt, va_list ap); int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
@ -1161,7 +1162,7 @@ int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
int snprintf(char *str, size_t n, char const *fmt, ...); int snprintf(char *str, size_t n, char const *fmt, ...);
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus
extern "C" }
#endif #endif
#endif #endif
@ -1222,7 +1223,10 @@ extern "C"
#define HAVE_SETEUID_FAKE #define HAVE_SETEUID_FAKE
#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"
{
#endif #endif
int seteuid(INT32_BASETYPE euid); /* defined in fakes.c */ int seteuid(INT32_BASETYPE euid); /* defined in fakes.c */
#ifdef __cplusplus
}
#endif
#endif #endif

Loading…
Cancel
Save