bugfix in get_option()

This commit is contained in:
2012-03-14 15:40:53 +00:00
parent 556fe9b8a6
commit 9becc99e02
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ int get_option(int argc, const char **argv, const char *opts, const struct long_
}
else
{
register char *cp; /* pointer into current token */
register const char *cp; /* pointer into current token */
/* short command line option */
opt_opt = argv[opt_ind][sp];
+1 -1
View File
@@ -176,7 +176,7 @@ int get_option(int argc, const char **argv, const char *opts, const struct long_
}
else
{
register char *cp; /* pointer into current token */
register const char *cp; /* pointer into current token */
/* short command line option */
opt_opt = argv[opt_ind][sp];