summaryrefslogtreecommitdiffstats
path: root/core/import-csv.c
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-09-28 10:29:15 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-28 07:47:39 -0700
commit2e6df623bbf582e1177afb68af3bdb7843fca9d9 (patch)
treed78764a2e41fc28639d5ef8072da64ecd80fd0ae /core/import-csv.c
parent43c9178bf706ed5f75dd027b0ffe67d8ca1fe4ce (diff)
downloadsubsurface-2e6df623bbf582e1177afb68af3bdb7843fca9d9.tar.gz
Cleanup: Make add_sample_data() local to translation unit
This function in parse_csv.c was not used anywhere. Make it of static linkage. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/import-csv.c')
-rw-r--r--core/import-csv.c2
1 files changed, 1 insertions, 1 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: