From 3ba87dc43a63cfb983233857550c1caed32c9079 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Wed, 20 Nov 2024 23:55:07 +0100 Subject: Added begin/end decls --- FICS/utils.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'FICS/utils.h') diff --git a/FICS/utils.h b/FICS/utils.h index 3bcdd4d..df986eb 100644 --- a/FICS/utils.h +++ b/FICS/utils.h @@ -55,10 +55,7 @@ #define ClearFlag(VAR, FLAG) (VAR &= ~(FLAG)) #define CheckFlag(VAR, FLAG) (VAR & (FLAG)) -#ifdef __cplusplus -extern "C" { -#endif - +__FICS_BEGIN_DECLS extern char *dotQuad(unsigned int); extern char *eattailwhite(char *); extern char *eatwhite(char *); @@ -110,9 +107,6 @@ extern int untenths(unsigned int); extern unsigned int tenth_secs(void); //extern void pprintf_dohightlight(int); //extern void sprintf_dohightlight(int, char *); - -#ifdef __cplusplus -} -#endif +__FICS_END_DECLS #endif /* _UTILS_H */ -- cgit v1.2.3