libopkg: set 'const' attribute for argv
[project/opkg-lede.git] / libopkg / opkg_cmd.h
index 8831bd367c5881056fd114a43557e7b76a8fae41..c73ec82d07f7be730137ba7ed3e72539f9e310e0 100644 (file)
@@ -33,5 +33,5 @@ int opkg_cmd_exec(opkg_cmd_t * cmd, int argc, const char **argv);
 
 extern int opkg_state_changed;
 extern int opkg_cli_argc;
-extern char **opkg_cli_argv;
+extern const char **opkg_cli_argv;
 #endif