libopkg: set 'const' attribute for argv
[project/opkg-lede.git] / libopkg / opkg_cmd.c
index b6c45f523cdd06277cb35c87eef7100046c2c5a7..6547775d1a57c762e582675ab12be671792a4147 100644 (file)
@@ -42,7 +42,7 @@
 #include "xsystem.h"
 
 int opkg_cli_argc = 0;
-char **opkg_cli_argv = NULL;
+const char **opkg_cli_argv = NULL;
 
 static void print_pkg(pkg_t * pkg)
 {