diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | openbsd-compat/getopt.h | 4 |
2 files changed, 6 insertions, 3 deletions
@@ -1,3 +1,6 @@ +20010714 + - (stevesk) change getopt() declaration + 20010713 - (djm) Enable /etc/nologin check on PAM systems, as some lack the pam_nologin module. Report from William Yodlowsky @@ -6025,4 +6028,4 @@ - Wrote replacements for strlcpy and mkdtemp - Released 1.0pre1 -$Id: ChangeLog,v 1.1399 2001/07/14 03:22:53 djm Exp $ +$Id: ChangeLog,v 1.1400 2001/07/14 16:05:55 stevesk Exp $ diff --git a/openbsd-compat/getopt.h b/openbsd-compat/getopt.h index 51810b17..d981fe43 100644 --- a/openbsd-compat/getopt.h +++ b/openbsd-compat/getopt.h @@ -1,4 +1,4 @@ -/* $Id: getopt.h,v 1.1 2001/07/14 03:22:54 djm Exp $ */ +/* $Id: getopt.h,v 1.2 2001/07/14 16:05:55 stevesk Exp $ */ #ifndef _GETOPT_H #define _GETOPT_H @@ -7,7 +7,7 @@ #ifndef HAVE_GETOPT_H -int getopt(int argc, char **argv, char *opts); +int getopt(int argc, char * const *argv, const char *opts); #endif |