diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-09-13 18:16:01 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-09-13 13:54:59 -0700 |
commit | 936cf453f9f9e338148ff08293340d960612e12d (patch) | |
tree | b59f8cb98b33f6e280dd1fa96dd2d7e23aeba5de /core/dive.h | |
parent | e6145b5498a61cd5625b3712a6501b9021acb27e (diff) | |
download | subsurface-936cf453f9f9e338148ff08293340d960612e12d.tar.gz |
cleanup: move set_dc_nickname() declaration from dive.h to device.h
The function *looks* like it is a dive function. However, in reality
it implicitly works on the global device list. Therefore, it is
thematically more aptly located in device.h with the other device
functions.
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 b29cf9857..e12f8f7f5 100644 --- a/core/dive.h +++ b/core/dive.h @@ -360,7 +360,6 @@ extern void invalidate_dive_cache(struct dive *dc); extern void clear_events(void); -extern void set_dc_nickname(struct dive *dive); extern void set_autogroup(bool value); extern int total_weight(const struct dive *); |