diff options
Diffstat (limited to 'newlib/libc/include/getopt.h')
-rw-r--r-- | newlib/libc/include/getopt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/include/getopt.h b/newlib/libc/include/getopt.h index ba8da4a7f..e12d253d4 100644 --- a/newlib/libc/include/getopt.h +++ b/newlib/libc/include/getopt.h @@ -104,7 +104,7 @@ extern "C" /* types defined by this include file */ struct option { - char *name; /* the name of the long option */ + const char *name; /* the name of the long option */ int has_arg; /* one of the above macros */ int *flag; /* determines if getopt_long() returns a * value for a long option; if it is |