]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - afs.c
Change the type of the argv argument of all commands.
[paraslash.git] / afs.c
diff --git a/afs.c b/afs.c
index 3fc5df4302edc8df4e41e04728389e26b31a2d05..806d0fbd70d199bdd8f515e4511f6224ddfaf856 100644 (file)
--- a/afs.c
+++ b/afs.c
@@ -235,7 +235,7 @@ out:
  * \sa send_standard_callback_request(), send_callback_request().
  */
 int send_option_arg_callback_request(struct osl_object *options,
-               int argc, const char **argv, callback_function *f,
+               int argc,  char * const * const argv, callback_function *f,
                struct osl_object *result)
 {
        char *p;
@@ -273,7 +273,7 @@ int send_option_arg_callback_request(struct osl_object *options,
  * \return The return value of the underlying call to
  * send_option_arg_callback_request().
  */
-int send_standard_callback_request(int argc, const char **argv,
+int send_standard_callback_request(int argc,  char * const * const argv,
                callback_function *f, struct osl_object *result)
 {
        return send_option_arg_callback_request(NULL, argc, argv, f, result);
@@ -794,7 +794,7 @@ static int create_all_tables(void)
 }
 
 /* TODO load tables after init */
-int com_init(__a_unused int fd, int argc, const char **argv)
+int com_init(__a_unused int fd, int argc, char * const * const argv)
 {
        int i, j, ret;
        if (argc == 1)