1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 15:26:37 +02:00

make aspell plugin compile with gcc-2.95

This commit is contained in:
Emmanuel Bouthenot
2006-06-11 11:20:18 +00:00
parent 935d8e9304
commit 99e3f219af
2 changed files with 24 additions and 24 deletions
+12 -12
View File
@@ -948,15 +948,15 @@ int speller_command (t_weechat_plugin *p,
char *handler_args,
void *handler_pointer)
{
char helpcmd[32];
char **args;
int c, r;
/* make gcc happy */
(void) p;
(void) handler_args;
(void) handler_pointer;
char helpcmd[32];
char **args;
int c, r;
snprintf(helpcmd, sizeof(helpcmd), "/help %s", plugin_command);
r = 0;
@@ -1015,16 +1015,16 @@ int speller_command (t_weechat_plugin *p,
int keyb_check (t_weechat_plugin *p, int argc, char **argv,
char *handler_args, void *handler_pointer)
{
/* make gcc happy */
(void) p;
(void) handler_args;
(void) handler_pointer;
char *server, *channel;
config_t *c;
char *input, *ptr_input, *pos_space;
int count;
/* make gcc happy */
(void) p;
(void) handler_args;
(void) handler_pointer;
channel = plugin->get_info (plugin, "channel", NULL);
server = plugin->get_info (plugin, "server", NULL);
@@ -1141,12 +1141,12 @@ int weechat_plugin_init (t_weechat_plugin *p)
*/
void weechat_plugin_end (t_weechat_plugin *p)
{
/* make gcc happy */
(void) p;
speller_t *s, *t;
config_t *c, *d;
/* make gcc happy */
(void) p;
options_save ();
config_save ();
+12 -12
View File
@@ -948,15 +948,15 @@ int speller_command (t_weechat_plugin *p,
char *handler_args,
void *handler_pointer)
{
char helpcmd[32];
char **args;
int c, r;
/* make gcc happy */
(void) p;
(void) handler_args;
(void) handler_pointer;
char helpcmd[32];
char **args;
int c, r;
snprintf(helpcmd, sizeof(helpcmd), "/help %s", plugin_command);
r = 0;
@@ -1015,16 +1015,16 @@ int speller_command (t_weechat_plugin *p,
int keyb_check (t_weechat_plugin *p, int argc, char **argv,
char *handler_args, void *handler_pointer)
{
/* make gcc happy */
(void) p;
(void) handler_args;
(void) handler_pointer;
char *server, *channel;
config_t *c;
char *input, *ptr_input, *pos_space;
int count;
/* make gcc happy */
(void) p;
(void) handler_args;
(void) handler_pointer;
channel = plugin->get_info (plugin, "channel", NULL);
server = plugin->get_info (plugin, "server", NULL);
@@ -1141,12 +1141,12 @@ int weechat_plugin_init (t_weechat_plugin *p)
*/
void weechat_plugin_end (t_weechat_plugin *p)
{
/* make gcc happy */
(void) p;
speller_t *s, *t;
config_t *c, *d;
/* make gcc happy */
(void) p;
options_save ();
config_save ();