Trivial: remove redundant declarations of downloadTable

downloadTable was declared twice in "dive.h". Remove one occurence.

Moreover, "uemis-downloader.c" also declared downloadTable. This can
likewise be removed, because "uemis-downloader.c" indirectly includes
"dive.h".

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2018-01-05 23:28:04 +01:00 committed by Jan Mulder
parent 2371c6ada6
commit b0fc718f65
2 changed files with 0 additions and 4 deletions

View file

@ -1026,8 +1026,6 @@ extern volume_t string_to_volume(const char *str, pressure_t workp);
extern fraction_t string_to_fraction(const char *str);
extern void average_max_depth(struct diveplan *dive, int *avg_depth, int *max_depth);
extern struct dive_table downloadTable;
#include "pref.h"
#endif // DIVE_H

View file

@ -76,8 +76,6 @@ static int dive_to_read = 0;
static int max_deleted_seen = -1;
extern struct dive_table downloadTable;
/* helper function to parse the Uemis data structures */
static void uemis_ts(char *buffer, void *_when)
{