diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-01-05 23:28:04 +0100 |
---|---|---|
committer | Jan Mulder <jlmulder@xs4all.nl> | 2018-01-06 09:21:33 +0100 |
commit | b0fc718f65e5c0e3ee624f472722d2549674cd69 (patch) | |
tree | e091edc5e39c90ea1ff71db7f3d6f8adc8bcf9da | |
parent | 2371c6ada65fe0fb0b7e2a32ebd74edaa4c68111 (diff) | |
download | subsurface-b0fc718f65e5c0e3ee624f472722d2549674cd69.tar.gz |
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>
-rw-r--r-- | core/dive.h | 2 | ||||
-rw-r--r-- | core/uemis-downloader.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/core/dive.h b/core/dive.h index 4f9db7591..32b9e1df7 100644 --- a/core/dive.h +++ b/core/dive.h @@ -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 diff --git a/core/uemis-downloader.c b/core/uemis-downloader.c index 87e9e934c..8909ee381 100644 --- a/core/uemis-downloader.c +++ b/core/uemis-downloader.c @@ -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) { |