summaryrefslogtreecommitdiff
path: root/nuttx/include/nuttx/binfmt/binfmt.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/include/nuttx/binfmt/binfmt.h')
-rw-r--r--nuttx/include/nuttx/binfmt/binfmt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/include/nuttx/binfmt/binfmt.h b/nuttx/include/nuttx/binfmt/binfmt.h
index 590d88402..a2e23e1e5 100644
--- a/nuttx/include/nuttx/binfmt/binfmt.h
+++ b/nuttx/include/nuttx/binfmt/binfmt.h
@@ -97,7 +97,7 @@ struct binary_s
/* Information provided to the loader to load and bind a module */
FAR const char *filename; /* Full path to the binary to be loaded (See NOTE 1 above) */
- FAR const char **argv; /* Argument list */
+ FAR char * const *argv; /* Argument list */
FAR const struct symtab_s *exports; /* Table of exported symbols */
int nexports; /* The number of symbols in exports[] */
@@ -290,7 +290,7 @@ int schedule_unload(pid_t pid, FAR struct binary_s *bin);
*
****************************************************************************/
-int exec(FAR const char *filename, FAR const char **argv,
+int exec(FAR const char *filename, FAR char * const *argv,
FAR const struct symtab_s *exports, int nexports);
/****************************************************************************