From b0fc718f65e5c0e3ee624f472722d2549674cd69 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Fri, 5 Jan 2018 23:28:04 +0100 Subject: [PATCH] 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 --- core/dive.h | 2 -- core/uemis-downloader.c | 2 -- 2 files changed, 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) {