mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-10-17 11:05:07 +02:00
Constify bsd_getopt(3) arguments
This matches the standard declaration for getopt(3).
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
int optreset = 0;
|
||||
|
||||
int
|
||||
bsd_getopt(int argc, char **argv, char *shortopts)
|
||||
bsd_getopt(int argc, char * const argv[], const char *shortopts)
|
||||
{
|
||||
if (optreset == 1) {
|
||||
optreset = 0;
|
||||
|
Reference in New Issue
Block a user