summaryrefslogtreecommitdiffstats
path: root/display.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-27 20:09:57 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-27 20:09:57 -0800
commit76e6420f6b3503b76bd3eec00ab0e53d6ea17a20 (patch)
tree8b50298f41bd29d55bbd6f4301f36ad31dc0b008 /display.h
parent006265d7a088cff4fea665159dbb454956c2cd76 (diff)
downloadsubsurface-76e6420f6b3503b76bd3eec00ab0e53d6ea17a20.tar.gz
Massive automated whitespace cleanup
I know everyone will hate it. Go ahead. Complain. Call me names. At least now things are consistent and reproducible. If you want changes, have your complaint come with a patch to scripts/whitespace.pl so that we can automate it. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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;