Change the type of the argv argument of all commands.
[paraslash.git] / afs.h
diff --git a/afs.h b/afs.h
index aa94ac7282a27755cf6b43bd4773443f5a511a53..22d70ad987e25c32b267e6831c4400aa78d27c23 100644 (file)
--- a/afs.h
+++ b/afs.h
@@ -96,10 +96,10 @@ typedef int callback_function(const struct osl_object *, struct osl_object *);
 __noreturn int afs_init(uint32_t cookie, int socket_fd);
 int send_callback_request(callback_function *f, struct osl_object *query,
        struct osl_object *result);
-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);
 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);
 int stdin_command(struct osl_object *arg_obj, callback_function *f,
                unsigned max_len, struct osl_object *result);