cleanup: remove unused macros / declarations from dive.h

Nobody was using these return-code macros and the functions
do not exist since a long time.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2020-10-25 18:17:12 +01:00 committed by Dirk Hohndel
parent f728923c79
commit df4c0ed403

View file

@ -206,14 +206,9 @@ extern void invalidate_dive_cache(struct dive *dc);
extern void set_autogroup(bool value); extern void set_autogroup(bool value);
extern int total_weight(const struct dive *); extern int total_weight(const struct dive *);
#define DIVE_ERROR_PARSE 1
#define DIVE_ERROR_PLAN 2
const char *monthname(int mon); const char *monthname(int mon);
extern const char *existing_filename; extern const char *existing_filename;
extern void subsurface_command_line_init(int *, char ***);
extern void subsurface_command_line_exit(int *, char ***);
extern bool has_planned(const struct dive *dive, bool planned); extern bool has_planned(const struct dive *dive, bool planned);