summaryrefslogtreecommitdiffstats
path: root/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'file.h')
-rw-r--r--file.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/file.h b/file.h
index b3a1ebac3..1e1e07721 100644
--- a/file.h
+++ b/file.h
@@ -9,6 +9,14 @@ struct memblock {
#if 0
extern int try_to_open_cochran(const char *filename, struct memblock *mem, GError **error);
#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
extern int readfile(const char *filename, struct memblock *mem);
+extern timestamp_t parse_date(const char *date);
+#ifdef __cplusplus
+}
+#endif
#endif