Commit 9becc99e authored by gsell's avatar gsell

bugfix in get_option()

parent 556fe9b8
......@@ -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];
......
......@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment