[pisa-src] r2289 - trunk/pisasd/pisasdconf.c

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Thu, 15 Apr 2010 15:54:48 +0200

Author: biurrun
Date: Thu Apr 15 15:54:48 2010
New Revision: 2289

Log:
Remove unused argument of pisa_sdconf_parse_reload().

Modified:
   trunk/pisasd/pisasdconf.c

Modified: trunk/pisasd/pisasdconf.c
==============================================================================
--- trunk/pisasd/pisasdconf.c   Thu Apr 15 15:42:19 2010        (r2288)
+++ trunk/pisasd/pisasdconf.c   Thu Apr 15 15:54:48 2010        (r2289)
@@ -23,10 +23,9 @@
 /**
  * Parse a pisasdconf reload line and send out a packet to the server daemon.
  * @param argc number of arguments
- * @param argv array of arguments
  * @return 0 on success, 1 on general error, 2 on specific error.
  */
-static int pisa_sdconf_parse_reload(int argc, UNUSED char *argv[])
+static int pisa_sdconf_parse_reload(int argc)
 {
     struct pisa_conf_packet *packet;
 
@@ -65,7 +64,7 @@
     }
 
     if (!strcmp("reload", argv[0])) {
-        return pisa_sdconf_parse_reload(argc - 1, &argv[1]);
+        return pisa_sdconf_parse_reload(argc - 1);
     }
 
     return 1;

Other related posts:

  • » [pisa-src] r2289 - trunk/pisasd/pisasdconf.c - Diego Biurrun