summary refs log tree commit diff stats
path: root/plugins/sysinfo/xsys.c
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-07-19 13:36:13 +1000
committerTingPing <tingping@tingping.se>2014-11-02 14:41:20 -0500
commitf83d78dd2801c7e4bee406379d3119f8852cf297 (patch)
tree72322bd80d992ead5359ed70faeeac1ae6a73a20 /plugins/sysinfo/xsys.c
parent9fb4eb5107a133a4c0492f11f02cdeb014042786 (diff)
Warning cleanup
- ignoring const
- declarations after statements
- some C files didnt include own headers (risking them getting out of sync)

Closes #1064
Diffstat (limited to 'plugins/sysinfo/xsys.c')
-rw-r--r--plugins/sysinfo/xsys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sysinfo/xsys.c b/plugins/sysinfo/xsys.c
index 4ab6e873..79abcea1 100644
--- a/plugins/sysinfo/xsys.c
+++ b/plugins/sysinfo/xsys.c
@@ -878,11 +878,11 @@ sysinfo_cb (char *word[], char *word_eol[], void *userdata)
 int
 hexchat_plugin_init (hexchat_plugin *plugin_handle, char **plugin_name, char **plugin_desc, char **plugin_version, char *arg)
 {
+	char buffer[bsize];
 	ph = plugin_handle;
 	*plugin_name    = name;
 	*plugin_desc    = desc;
 	*plugin_version = version;
-	char buffer[bsize];
 
 	hexchat_hook_command (ph, "SYSINFO",	HEXCHAT_PRI_NORM,	sysinfo_cb,	sysinfo_help, NULL);
 	hexchat_hook_command (ph, "NETDATA",	HEXCHAT_PRI_NORM,	netdata_cb,	NULL, NULL);