summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikola Pajkovsky <npajkovs@redhat.com>2010-06-04 13:01:06 +0200
committerNikola Pajkovsky <npajkovs@redhat.com>2010-06-04 13:01:06 +0200
commit989a008e1fee1a4a95d0f7e34039e4c03fa7d2a3 (patch)
tree08650e0395158054cce73fd974e7e0bda6746fc4
parentd5f79e3b0bd7cccab80411b0fc0731b08c30064e (diff)
downloadabrt-989a008e1fee1a4a95d0f7e34039e4c03fa7d2a3.tar.gz
abrt-989a008e1fee1a4a95d0f7e34039e4c03fa7d2a3.tar.xz
abrt-989a008e1fee1a4a95d0f7e34039e4c03fa7d2a3.zip
add extern "C" around [suffix,preffix]cmp function
Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
-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);