compat/getopt: constify opts
Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
This commit is contained in:
parent
d3375101fe
commit
589b934417
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ static int optind = 1;
|
|||
static int optopt;
|
||||
static char *optarg;
|
||||
|
||||
static int getopt(int argc, char *argv[], char *opts)
|
||||
static int getopt(int argc, char *argv[], const char *opts)
|
||||
{
|
||||
static int sp = 1;
|
||||
int c;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue