summaryrefslogtreecommitdiffstats
path: root/display.h
diff options
context:
space:
mode:
Diffstat (limited to 'display.h')
-rw-r--r--display.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/display.h b/display.h
index 64d481eeb..a2e4cdc26 100644
--- a/display.h
+++ b/display.h
@@ -39,13 +39,20 @@ struct graphics_context {
struct plot_info pi;
};
-typedef enum { SC_SCREEN, SC_PRINT } scale_mode_t;
+typedef enum {
+ SC_SCREEN,
+ SC_PRINT
+} scale_mode_t;
extern struct divecomputer *select_dc(struct divecomputer *main);
extern void get_plot_details(struct graphics_context *gc, int time, struct membuffer *mb);
struct options {
- enum { PRETTY, TABLE, TWOPERPAGE } type;
+ enum {
+ PRETTY,
+ TABLE,
+ TWOPERPAGE
+ } type;
int print_selected;
int color_selected;
bool notes_up;
@@ -59,8 +66,8 @@ extern unsigned int amount_selected;
extern int is_default_dive_computer_device(const char *);
extern int is_default_dive_computer(const char *, const char *);
-typedef void (*device_callback_t) (const char *name, void *userdata);
-int enumerate_devices (device_callback_t callback, void *userdata);
+typedef void (*device_callback_t)(const char *name, void *userdata);
+int enumerate_devices(device_callback_t callback, void *userdata);
extern const char *default_dive_computer_vendor;
extern const char *default_dive_computer_product;