mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
006265d7a0
commit
76e6420f6b
114 changed files with 4370 additions and 3717 deletions
15
display.h
15
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue