summaryrefslogtreecommitdiffstats
path: root/core/dive.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-06-04 09:05:17 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-06-19 13:11:10 -0700
commitbff80cf4625c4a97182e8333633403d06725a613 (patch)
tree0154f660c6e7db88ff79ad434f5a1df5bf6e076f /core/dive.h
parent7f4d9db962e73aa5d5089c43c99b78b3690ffb87 (diff)
downloadsubsurface-bff80cf4625c4a97182e8333633403d06725a613.tar.gz
Cleanup: move unit-related functions to own translation unit
Create a units.c translation unit. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/dive.h')
-rw-r--r--core/dive.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/core/dive.h b/core/dive.h
index 6fd78d2dc..093046cf4 100644
--- a/core/dive.h
+++ b/core/dive.h
@@ -63,16 +63,6 @@ struct event {
extern int event_is_gaschange(const struct event *ev);
-extern int get_pressure_units(int mb, const char **units);
-extern double get_depth_units(int mm, int *frac, const char **units);
-extern double get_volume_units(unsigned int ml, int *frac, const char **units);
-extern double get_temp_units(unsigned int mk, const char **units);
-extern double get_weight_units(unsigned int grams, int *frac, const char **units);
-extern double get_vertical_speed_units(unsigned int mms, int *frac, const char **units);
-
-extern depth_t units_to_depth(double depth);
-extern int units_to_sac(double volume);
-
/* Volume in mliter of a cylinder at pressure 'p' */
extern int gas_volume(const cylinder_t *cyl, pressure_t p);
extern double gas_compressibility_factor(struct gasmix gas, double bar);
@@ -294,9 +284,6 @@ extern bool autogroup;
struct dive *unregister_dive(int idx);
extern void delete_single_dive(int idx);
-extern const struct units SI_units, IMPERIAL_units;
-
-extern const struct units *get_units(void);
extern int run_survey, verbose, quit, force_root;
extern struct dive_table dive_table;