summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/getopt.h
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2001-07-14 16:05:55 +0000
committerKevin Steves <stevesk@pobox.com>2001-07-14 16:05:55 +0000
commit60193f70f7f246eb4a4b3530fa25323e6ba5f683 (patch)
tree5cadeac1b8d18d60056631d28ac879d8a988ee5b /openbsd-compat/getopt.h
parent4f8e66929b592825856df3625f5de7922f826020 (diff)
- (stevesk) change getopt() declaration
Diffstat (limited to 'openbsd-compat/getopt.h')
-rw-r--r--openbsd-compat/getopt.h4
1 files changed, 2 insertions, 2 deletions
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