]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/common/sim-options.c
sim: mark complete_option_list args const to fix build warnings
[thirdparty/binutils-gdb.git] / sim / common / sim-options.c
index fdc05a4a0e3b6c561156735b90b726bcc136ddc4..170548b5eee6b64f77ca49a7a2c757c89cb09261 100644 (file)
@@ -920,7 +920,7 @@ find_match (SIM_DESC sd, sim_cpu *cpu, char *argv[], int *pargi)
 
 static char **
 complete_option_list (char **ret, size_t *cnt, const struct option_list *ol,
-                     char *text, char *word)
+                     const char *text, const char *word)
 {
   const OPTION *opt = NULL;
   int argi;