summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--inc/abrtlib.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/inc/abrtlib.h b/inc/abrtlib.h
index ffa66363..6800bccf 100644
--- a/inc/abrtlib.h
+++ b/inc/abrtlib.h
@@ -98,8 +98,16 @@ extern int g_verbose;
char* skip_whitespace(const char *s);
char* skip_non_whitespace(const char *s);
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
int prefixcmp(const char *str, const char *prefix);
int suffixcmp(const char *str, const char *suffix);
+#ifdef __cplusplus
+}
+#endif
unsigned xatou(const char *numstr);