compat/getopt: constify opts

Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
This commit is contained in:
Kacper Michajłow
2025-08-12 17:40:39 +02:00
parent d3375101fe
commit 589b934417

View File

@@ -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;