aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi/mi-getopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/mi/mi-getopt.h')
-rw-r--r--gdb/mi/mi-getopt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mi/mi-getopt.h b/gdb/mi/mi-getopt.h
index a34a354..10b2906 100644
--- a/gdb/mi/mi-getopt.h
+++ b/gdb/mi/mi-getopt.h
@@ -42,7 +42,7 @@
struct mi_opt;
extern int mi_getopt (const char *prefix, int argc, char **argv,
- struct mi_opt *opt, int *optind, char **optarg);
+ const struct mi_opt *opt, int *optind, char **optarg);
/* The option list. Terminated by NAME==NULL. ARG_P that the option
requires an argument. INDEX is returned to identify th option. */