summary refs log tree commit diff stats
path: root/src/fe-gtk/banlist.h
diff options
context:
space:
mode:
authorRichardHitt <rbh00@netcom.com>2013-03-25 16:16:51 -0700
committerRichardHitt <rbh00@netcom.com>2013-03-25 16:16:51 -0700
commita41924d79ed3d56bb63e56eefc40f0a551763da0 (patch)
treeb9e81f8a91a090b8ae575d286cc57204498d0f57 /src/fe-gtk/banlist.h
parent9c8b717901ea4fb1af382741dfe07671aa136760 (diff)
Switch struct defns, to fix a seeming compiler bug
Diffstat (limited to 'src/fe-gtk/banlist.h')
-rw-r--r--src/fe-gtk/banlist.h22
1 files changed, 10 insertions, 12 deletions
diff --git a/src/fe-gtk/banlist.h b/src/fe-gtk/banlist.h
index e61fd45c..130337fd 100644
--- a/src/fe-gtk/banlist.h
+++ b/src/fe-gtk/banlist.h
@@ -24,18 +24,6 @@ typedef enum banlist_modes_e {
 	MODE_CT
 } banlist_modes;
 
-typedef struct banlist_info_s banlist_info;
-
-typedef struct mode_info_s {
-	char *name;		/* Checkbox name, e.g. "Bans" */
-	char *type;		/* Type for type column, e.g. "Ban" */
-	char letter;	/* /mode-command letter, e.g. 'b' for MODE_BAN */
-	int code;		/* rfc RPL_foo code, e.g. 367 for RPL_BANLIST */
-	int endcode;	/* rfc RPL_ENDOFfoo code, e.g. 368 for RPL_ENDOFBANLIST */
-	int bit;			/* Mask bit, e.g., 1<<MODE_BAN  */
-	void (*tester)(banlist_info *, int);	/* Function returns true to set bit into checkable */
-} mode_info;
-
 typedef struct banlist_info_s {
 	session *sess;
 	int capable;	/* MODE bitmask */
@@ -55,4 +43,14 @@ typedef struct banlist_info_s {
 	GtkWidget *but_clear;
 	GtkWidget *but_refresh;
 } banlist_info;
+
+typedef struct mode_info_s {
+	char *name;		/* Checkbox name, e.g. "Bans" */
+	char *type;		/* Type for type column, e.g. "Ban" */
+	char letter;	/* /mode-command letter, e.g. 'b' for MODE_BAN */
+	int code;		/* rfc RPL_foo code, e.g. 367 for RPL_BANLIST */
+	int endcode;	/* rfc RPL_ENDOFfoo code, e.g. 368 for RPL_ENDOFBANLIST */
+	int bit;			/* Mask bit, e.g., 1<<MODE_BAN  */
+	void (*tester)(banlist_info *, int);	/* Function returns true to set bit into checkable */
+} mode_info;
 #endif /* BANLIST_H */