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>
This commit is contained in:
Berthold Stoeger 2018-09-28 10:29:15 +02:00 committed by Dirk Hohndel
parent 43c9178bf7
commit 2e6df623bb
2 changed files with 1 additions and 2 deletions

View file

@ -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: