Added a "const".
committer: mfx <mfx> 974916065 +0000
This commit is contained in:
+1
-1
@@ -530,7 +530,7 @@ static int _getopt_internal (int argc, char **argv, const char *optstring,
|
||||
|
||||
{
|
||||
char c = *nextchar++;
|
||||
char *temp = my_index (optstring, c);
|
||||
const char *temp = my_index (optstring, c);
|
||||
|
||||
/* Increment `optind' when we start to process its last character. */
|
||||
if (*nextchar == '\0')
|
||||
|
||||
Reference in New Issue
Block a user