summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bsd_getopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bsd_getopt.c b/src/bsd_getopt.c
index 3e89817..b5bd270 100644
--- a/src/bsd_getopt.c
+++ b/src/bsd_getopt.c
@@ -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;