mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
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:
parent
43c9178bf7
commit
2e6df623bb
2 changed files with 1 additions and 2 deletions
|
@ -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:
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue