Cleanup: generate clear_*_table() functions by macro

In analogy to the other table functions, generate these by
a macro as well.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2019-06-04 20:59:08 +02:00 committed by Dirk Hohndel
parent f4ef1c4bc8
commit 3df32044ee
8 changed files with 18 additions and 31 deletions

View file

@ -58,7 +58,7 @@ void reset_min_datafile_version();
void report_datafile_version(int version);
int get_dive_id_closest_to(timestamp_t when);
void clear_dive_file_data();
void clear_table(struct dive_table *table);
void clear_dive_table(struct dive_table *table);
#ifdef DEBUG_TRIP
extern void dump_selection(void);