From 675288f7111ea6b8016d0e10aa514f2226008b4f Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sat, 6 Jul 2019 10:53:50 +0200 Subject: [PATCH] Cleanup: remove unused declarations from display.h A number of declarations were not used anywhere. Remove them. Signed-off-by: Berthold Stoeger --- core/display.h | 14 -------------- 1 file changed, 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