aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
Diffstat (limited to 'FICS')
-rw-r--r--FICS/utils.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/FICS/utils.h b/FICS/utils.h
index 88f3cc9..529a3db 100644
--- a/FICS/utils.h
+++ b/FICS/utils.h
@@ -55,6 +55,10 @@
#define ClearFlag(VAR, FLAG) (VAR &= ~(FLAG))
#define CheckFlag(VAR, FLAG) (VAR & (FLAG))
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern char *dotQuad(unsigned int);
extern char *eattailwhite(char *);
extern char *eatwhite(char *);
@@ -107,4 +111,8 @@ extern unsigned int tenth_secs(void);
//extern void pprintf_dohightlight(int);
//extern void sprintf_dohightlight(int, char *);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _UTILS_H */