summaryrefslogtreecommitdiffstats
path: root/lib/libstand/stand.h
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>1999-01-11 06:01:29 +0000
committermsmith <msmith@FreeBSD.org>1999-01-11 06:01:29 +0000
commit192ad366a1277ebc36c037b0a2b9b7bb1ea780c0 (patch)
treeadf5d5e8034916f1e4f285610c8133a47449bee5 /lib/libstand/stand.h
parent527d38004287b902c38fe10e89f784d7251c79b3 (diff)
downloadFreeBSD-src-192ad366a1277ebc36c037b0a2b9b7bb1ea780c0.zip
FreeBSD-src-192ad366a1277ebc36c037b0a2b9b7bb1ea780c0.tar.gz
POSIX introduced optreset to deal with multiple invocations
of getopt (as in, multiple input lines :). This is documented in the man page and is used in the code, but unistd.h and stand.h do not declare it. Incidentally, it prevents me fixing a bug in loader's code... :-) PR: misc/9373 Submitted by: "Daniel C. Sobral" <dcs@newsguy.com>
Diffstat (limited to 'lib/libstand/stand.h')
-rw-r--r--lib/libstand/stand.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libstand/stand.h b/lib/libstand/stand.h
index c527bf7..74abcd7 100644
--- a/lib/libstand/stand.h
+++ b/lib/libstand/stand.h
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: stand.h,v 1.11 1998/11/04 07:04:00 msmith Exp $
+ * $Id: stand.h,v 1.12 1998/11/04 07:39:53 msmith Exp $
* From $NetBSD: stand.h,v 1.22 1997/06/26 19:17:40 drochner Exp $
*/
@@ -220,7 +220,7 @@ extern u_long random(void);
extern long strtol(const char *, char **, int);
extern char * strerror(int err);
extern char *optarg; /* getopt(3) external variables */
-extern int optind, opterr, optopt;
+extern int optind, opterr, optopt, optreset;
extern int getopt(int, char * const [], const char *);
/* pager.c */
OpenPOWER on IntegriCloud