weechat-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Weechat-cvs] weechat/src/plugins/aspell weechat-aspell.c


From: kolter
Subject: [Weechat-cvs] weechat/src/plugins/aspell weechat-aspell.c
Date: Sun, 11 Jun 2006 11:20:19 +0000

CVSROOT:        /sources/weechat
Module name:    weechat
Changes by:     kolter <kolter> 06/06/11 11:20:19

Modified files:
        src/plugins/aspell: weechat-aspell.c 

Log message:
        make aspell plugin compile with gcc-2.95

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/weechat/src/plugins/aspell/weechat-aspell.c?cvsroot=weechat&r1=1.1&r2=1.2

Patches:
Index: weechat-aspell.c
===================================================================
RCS file: /sources/weechat/weechat/src/plugins/aspell/weechat-aspell.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- weechat-aspell.c    11 Jun 2006 02:28:23 -0000      1.1
+++ weechat-aspell.c    11 Jun 2006 11:20:18 -0000      1.2
@@ -948,15 +948,15 @@
                      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 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 @@
  */
 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 ();
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]