summaryrefslogtreecommitdiffstats
path: root/core/import-csv.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-09-28 12:09:18 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-28 07:47:39 -0700
commit3137fbe973301248530c0aa85c69bf49ad32664a (patch)
treed112083860602ed1ffa382816d2aa5f53ef0f40a /core/import-csv.h
parent2e6df623bbf582e1177afb68af3bdb7843fca9d9 (diff)
downloadsubsurface-3137fbe973301248530c0aa85c69bf49ad32664a.tar.gz
Cleanup: remove redundant prototypes from dive.h
A few of these prototypes were already in import-csv.h. Put them in an 'extern "C" { ... }' block. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/import-csv.h')
-rw-r--r--core/import-csv.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/import-csv.h b/core/import-csv.h
index bfaf7fe38..1f1d330e7 100644
--- a/core/import-csv.h
+++ b/core/import-csv.h
@@ -17,6 +17,10 @@ enum csv_format {
#define MAXCOLDIGITS 10
+#ifdef __cplusplus
+extern "C" {
+#endif
+
int parse_csv_file(const char *filename, char **params, int pnr, const char *csvtemplate);
int try_to_open_csv(struct memblock *mem, enum csv_format type);
int parse_txt_file(const char *filename, const char *csv);
@@ -24,4 +28,8 @@ int parse_txt_file(const char *filename, const char *csv);
int parse_seabear_log(const char *filename);
int parse_manual_file(const char *filename, char **params, int pnr);
+#ifdef __cplusplus
+}
+#endif
+
#endif // IMPORTCSV_H