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>
This commit is contained in:
Berthold Stoeger 2020-09-13 18:16:01 +02:00 committed by Dirk Hohndel
parent e6145b5498
commit 936cf453f9
2 changed files with 1 additions and 1 deletions

View file

@ -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 *);