1*6ea7f916SThomas Cort /* $NetBSD: extern.h,v 1.6 2011/09/06 18:26:06 joerg Exp $ */ 2*6ea7f916SThomas Cort 3*6ea7f916SThomas Cort /*- 4*6ea7f916SThomas Cort * Copyright (c) 1991 Keith Muller. 5*6ea7f916SThomas Cort * Copyright (c) 1993 6*6ea7f916SThomas Cort * The Regents of the University of California. All rights reserved. 7*6ea7f916SThomas Cort * 8*6ea7f916SThomas Cort * This code is derived from software contributed to Berkeley by 9*6ea7f916SThomas Cort * Keith Muller of the University of California, San Diego. 10*6ea7f916SThomas Cort * 11*6ea7f916SThomas Cort * Redistribution and use in source and binary forms, with or without 12*6ea7f916SThomas Cort * modification, are permitted provided that the following conditions 13*6ea7f916SThomas Cort * are met: 14*6ea7f916SThomas Cort * 1. Redistributions of source code must retain the above copyright 15*6ea7f916SThomas Cort * notice, this list of conditions and the following disclaimer. 16*6ea7f916SThomas Cort * 2. Redistributions in binary form must reproduce the above copyright 17*6ea7f916SThomas Cort * notice, this list of conditions and the following disclaimer in the 18*6ea7f916SThomas Cort * documentation and/or other materials provided with the distribution. 19*6ea7f916SThomas Cort * 3. Neither the name of the University nor the names of its contributors 20*6ea7f916SThomas Cort * may be used to endorse or promote products derived from this software 21*6ea7f916SThomas Cort * without specific prior written permission. 22*6ea7f916SThomas Cort * 23*6ea7f916SThomas Cort * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 24*6ea7f916SThomas Cort * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 25*6ea7f916SThomas Cort * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 26*6ea7f916SThomas Cort * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 27*6ea7f916SThomas Cort * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 28*6ea7f916SThomas Cort * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29*6ea7f916SThomas Cort * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30*6ea7f916SThomas Cort * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31*6ea7f916SThomas Cort * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32*6ea7f916SThomas Cort * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33*6ea7f916SThomas Cort * SUCH DAMAGE. 34*6ea7f916SThomas Cort * 35*6ea7f916SThomas Cort * from: @(#)extern.h 8.1 (Berkeley) 6/6/93 36*6ea7f916SThomas Cort * $NetBSD: extern.h,v 1.6 2011/09/06 18:26:06 joerg Exp $ 37*6ea7f916SThomas Cort */ 38*6ea7f916SThomas Cort 39*6ea7f916SThomas Cort extern int eoptind; 40*6ea7f916SThomas Cort extern char *eoptarg; 41*6ea7f916SThomas Cort 42*6ea7f916SThomas Cort int egetopt(int, char * const *, const char *); 43