diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-10-13 10:59:16 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-10-13 21:41:41 -0400 |
commit | 5d3967ce846ed4876abeb43ebe2d919064050ed6 (patch) | |
tree | 246ae5a2cc649eff0bd911a072b956a8440167a4 /core/dive.h | |
parent | 954820aa81cb52cfe4442f2c6e81117827e32ccc (diff) | |
download | subsurface-5d3967ce846ed4876abeb43ebe2d919064050ed6.tar.gz |
Dive site: un-globalize displayed_dive_site
The global object displayed_dive_site is used a a backing-store
by the dive-site-edit widget. All external accesses were removed,
therefore make the object local to the widget.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/dive.h')
-rw-r--r-- | core/dive.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/dive.h b/core/dive.h index da856cc0f..4f453d722 100644 --- a/core/dive.h +++ b/core/dive.h @@ -439,7 +439,6 @@ struct dive_table { extern struct dive_table dive_table, downloadTable; extern struct dive displayed_dive; -extern struct dive_site displayed_dive_site; extern unsigned int dc_number; extern struct dive *current_dive; #define current_dc (get_dive_dc(current_dive, dc_number)) |