From df4c0ed4031aff719a221481e45b143a292a6f04 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sun, 25 Oct 2020 18:17:12 +0100 Subject: 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 --- core/dive.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'core/dive.h') diff --git a/core/dive.h b/core/dive.h index 3e30ff521..490d228c7 100644 --- a/core/dive.h +++ b/core/dive.h @@ -206,14 +206,9 @@ extern void invalidate_dive_cache(struct dive *dc); extern void set_autogroup(bool value); extern int total_weight(const struct dive *); -#define DIVE_ERROR_PARSE 1 -#define DIVE_ERROR_PLAN 2 - const char *monthname(int mon); 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); -- cgit v1.2.3-70-g09d2