diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-12-08 13:32:46 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-12-29 08:34:09 -0800 |
commit | 4c85357dccf489110efe0439dde597843c7a8771 (patch) | |
tree | 8f7dd2387b54b6202f61606aa01fc8227bde381e /core/dive.h | |
parent | bbbd4c88180d43604c5e6bbe093461e93859d706 (diff) | |
download | subsurface-4c85357dccf489110efe0439dde597843c7a8771.tar.gz |
cleanup: move monthname to time.c
Weirdly, this function was declared in dive.h and defined in
subsurface-startup.c. Let's move declaration and definition to
more appropriate places, viz. subsurface-time.h and time.c.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/dive.h')
-rw-r--r-- | core/dive.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/dive.h b/core/dive.h index 09ef61b42..a38236fc5 100644 --- a/core/dive.h +++ b/core/dive.h @@ -204,8 +204,6 @@ extern void invalidate_dive_cache(struct dive *dc); extern void set_autogroup(bool value); extern int total_weight(const struct dive *); -const char *monthname(int mon); - extern const char *existing_filename; extern bool has_planned(const struct dive *dive, bool planned); |