Reformat .h files.

I did my best to exempt some of the bigger aligned blocks from the reformatting
using the /* clang-format off */ and /* clang-format on */ tags. Probably some
that shouldn't have been formatted were anyway; if you encounter them, please
fix.

The clang-format tags were left in on the basis that it's much easier to prune
those out later than to put them back in, and it means that, modulo my custom
version of clang-format, I should be able to run clang-format on the source tree
again without changing anything, now that Pat has fixed the VA_DECL issues.
This commit is contained in:
Sean Hunt
2015-05-25 09:21:15 +09:00
parent 26ee7dc370
commit 8b57d96fd2
156 changed files with 10712 additions and 10701 deletions
+21 -24
View File
@@ -15,33 +15,32 @@
/* The list of custom signals */
enum {
GHSIG_CURS,
GHSIG_PUTSTR,
GHSIG_PRINT_GLYPH,
GHSIG_CLEAR,
GHSIG_DISPLAY,
GHSIG_START_MENU,
GHSIG_ADD_MENU,
GHSIG_END_MENU,
GHSIG_SELECT_MENU,
GHSIG_CLIPAROUND,
GHSIG_FADE_HIGHLIGHT,
GHSIG_DELAY,
GHSIG_LAST_SIG
GHSIG_CURS,
GHSIG_PUTSTR,
GHSIG_PRINT_GLYPH,
GHSIG_CLEAR,
GHSIG_DISPLAY,
GHSIG_START_MENU,
GHSIG_ADD_MENU,
GHSIG_END_MENU,
GHSIG_SELECT_MENU,
GHSIG_CLIPAROUND,
GHSIG_FADE_HIGHLIGHT,
GHSIG_DELAY,
GHSIG_LAST_SIG
};
guint ghack_signals[GHSIG_LAST_SIG];
extern void ghack_init_signals( void);
extern void ghack_init_signals(void);
void ghack_handle_key_press(GtkWidget *widget, GdkEventKey *event,
gpointer data);
void ghack_handle_button_press(GtkWidget *widget, GdkEventButton *event,
gpointer data);
void ghack_handle_key_press(GtkWidget *widget, GdkEventKey *event,
gpointer data);
void ghack_handle_button_press(GtkWidget *widget, GdkEventButton *event,
gpointer data);
typedef struct {
int x, y, mod;
int x, y, mod;
} GHClick;
extern GList *g_keyBuffer;
@@ -51,8 +50,6 @@ extern int g_numClicks;
extern int g_askingQuestion;
void ghack_delay( GtkWidget *win, int numMillisecs, gpointer data);
#endif /* GnomeHackSignals_h */
void ghack_delay(GtkWidget *win, int numMillisecs, gpointer data);
#endif /* GnomeHackSignals_h */