aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-07-06 10:53:50 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-07-06 04:10:14 -0700
commit675288f7111ea6b8016d0e10aa514f2226008b4f (patch)
treea766e212830ac7e192711f4dda21d32fa2231f33 /core
parentbb8b42f258a875b5b59788ca29e5cd5492fb411f (diff)
downloadsubsurface-675288f7111ea6b8016d0e10aa514f2226008b4f.tar.gz
Cleanup: remove unused declarations from display.h
A number of declarations were not used anywhere. Remove them. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core')
-rw-r--r--core/display.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/core/display.h b/core/display.h
index 67feee854..aad3c74e1 100644
--- a/core/display.h
+++ b/core/display.h
@@ -8,11 +8,6 @@
extern "C" {
#endif
-struct membuffer;
-
-#define SCALE_SCREEN 1.0
-#define SCALE_PRINT (1.0 / get_screen_dpi())
-
extern double get_screen_dpi(void);
/* Plot info with smoothing, velocity indication
@@ -30,11 +25,6 @@ struct plot_info {
struct plot_data *entry;
};
-typedef enum {
- SC_SCREEN,
- SC_PRINT
-} scale_mode_t;
-
extern struct divecomputer *select_dc(struct dive *);
extern unsigned int dc_number;
@@ -48,10 +38,6 @@ typedef void (*device_callback_t)(const char *name, void *userdata);
int enumerate_devices(device_callback_t callback, void *userdata, unsigned int transport);
-extern const char *default_dive_computer_vendor;
-extern const char *default_dive_computer_product;
-extern const char *default_dive_computer_device;
-extern int default_dive_computer_download_mode;
#define AMB_PERCENTAGE 50.0
#ifdef __cplusplus