summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-10-25 18:17:12 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-25 13:59:52 -0700
commitdf4c0ed4031aff719a221481e45b143a292a6f04 (patch)
tree39d913808f0818a3c89dc87f27ad6e60cd5e589f
parentf728923c79873cf9a182e3b37e5c79e6ecc9fe8d (diff)
downloadsubsurface-df4c0ed4031aff719a221481e45b143a292a6f04.tar.gz
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>
-rw-r--r--core/dive.h5
1 files changed, 0 insertions, 5 deletions
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);