aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/utils.h')
-rw-r--r--FICS/utils.h10
1 files changed, 2 insertions, 8 deletions
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 */