summaryrefslogtreecommitdiff
path: root/src/port/getopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/port/getopt.c')
-rw-r--r--src/port/getopt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/port/getopt.c b/src/port/getopt.c
index e901bf7db50..eb50cba1ca4 100644
--- a/src/port/getopt.c
+++ b/src/port/getopt.c
@@ -61,7 +61,7 @@ extern char *optarg;
#define BADARG (int)':'
#define EMSG ""
-int getopt(int nargc, char *const * nargv, const char * ostr);
+int getopt(int nargc, char *const * nargv, const char *ostr);
/*
* getopt
@@ -74,7 +74,7 @@ int getopt(int nargc, char *const * nargv, const char * ostr);
* returning -1.)
*/
int
-getopt(int nargc, char *const * nargv, const char * ostr)
+getopt(int nargc, char *const * nargv, const char *ostr)
{
static char *place = EMSG; /* option letter processing */
char *oli; /* option letter list index */