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 @@ | |||
1 | 20010714 | ||
2 | - (stevesk) change getopt() declaration | ||
3 | |||
1 | 20010713 | 4 | 20010713 |
2 | - (djm) Enable /etc/nologin check on PAM systems, as some lack the | 5 | - (djm) Enable /etc/nologin check on PAM systems, as some lack the |
3 | pam_nologin module. Report from William Yodlowsky | 6 | pam_nologin module. Report from William Yodlowsky |
@@ -6025,4 +6028,4 @@ | |||
6025 | - Wrote replacements for strlcpy and mkdtemp | 6028 | - Wrote replacements for strlcpy and mkdtemp |
6026 | - Released 1.0pre1 | 6029 | - Released 1.0pre1 |
6027 | 6030 | ||
6028 | $Id: ChangeLog,v 1.1399 2001/07/14 03:22:53 djm Exp $ | 6031 | $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 51810b17c..d981fe434 100644 --- a/openbsd-compat/getopt.h +++ b/openbsd-compat/getopt.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: getopt.h,v 1.1 2001/07/14 03:22:54 djm Exp $ */ | 1 | /* $Id: getopt.h,v 1.2 2001/07/14 16:05:55 stevesk Exp $ */ |
2 | 2 | ||
3 | #ifndef _GETOPT_H | 3 | #ifndef _GETOPT_H |
4 | #define _GETOPT_H | 4 | #define _GETOPT_H |
@@ -7,7 +7,7 @@ | |||
7 | 7 | ||
8 | #ifndef HAVE_GETOPT_H | 8 | #ifndef HAVE_GETOPT_H |
9 | 9 | ||
10 | int getopt(int argc, char **argv, char *opts); | 10 | int getopt(int argc, char * const *argv, const char *opts); |
11 | 11 | ||
12 | #endif | 12 | #endif |
13 | 13 | ||