summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2017-11-25 14:03:55 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-25 07:38:20 -0800
commitcc5a56b2751de2387572eec25fde75db7b89fb6a (patch)
tree42ec35d79346239c82ee04b404a190a3398b1b93
parent79e3f69f488dfb13150f60b4e73a33b5b88361a4 (diff)
downloadsubsurface-cc5a56b2751de2387572eec25fde75db7b89fb6a.tar.gz
Cleanup: remove unused extern declaration
Removes the extern declaration of edit_dive, which wasn't defined anywhere. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
-rw-r--r--core/dive.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/dive.h b/core/dive.h
index 0f6fe192d..81396d352 100644
--- a/core/dive.h
+++ b/core/dive.h
@@ -525,10 +525,6 @@ static inline depth_t gas_mnd(struct gasmix *mix, depth_t end, struct dive *dive
#define SURFACE_THRESHOLD 750 /* somewhat arbitrary: only below 75cm is it really diving */
-/* this is a global spot for a temporary dive structure that we use to
- * be able to edit a dive without unintended side effects */
-extern struct dive edit_dive;
-
extern short autogroup;
/* random threashold: three days without diving -> new trip
* this works very well for people who usually dive as part of a trip and don't