- (stevesk) change getopt() declaration
diff --git a/ChangeLog b/ChangeLog
index 60c0e06..49ea820 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 51810b1..d981fe4 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