summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/import-csv.c2
-rw-r--r--core/import-csv.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/core/import-csv.c b/core/import-csv.c
index 8d6c229fd..b3ff4261f 100644
--- a/core/import-csv.c
+++ b/core/import-csv.c
@@ -47,7 +47,7 @@ static timestamp_t parse_date(const char *date)
return utc_mktime(&tm);
}
-void add_sample_data(struct sample *sample, enum csv_format type, double val)
+static void add_sample_data(struct sample *sample, enum csv_format type, double val)
{
switch (type) {
case CSV_DEPTH:
diff --git a/core/import-csv.h b/core/import-csv.h
index 720e368ed..bfaf7fe38 100644
--- a/core/import-csv.h
+++ b/core/import-csv.h
@@ -17,7 +17,6 @@ enum csv_format {
#define MAXCOLDIGITS 10
-void add_sample_data(struct sample *sample, enum csv_format type, double val);
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);