diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-02-27 20:09:57 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-02-27 20:09:57 -0800 |
commit | 76e6420f6b3503b76bd3eec00ab0e53d6ea17a20 (patch) | |
tree | 8b50298f41bd29d55bbd6f4301f36ad31dc0b008 /display.h | |
parent | 006265d7a088cff4fea665159dbb454956c2cd76 (diff) | |
download | subsurface-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.h | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -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; |