From 4a6303ba3b64504ab0077b9cfebd2a4b918d531d Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Wed, 8 Jun 2011 02:10:38 +0200 Subject: Constify bsd_getopt(3) arguments This matches the standard declaration for getopt(3). --- src/bsd_getopt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3