editor: #undef O after use
[0verkill.git] / getopt.h
blobd3ed584f5f2b4222a26126999202aff454ef4162
1 /*****************************************************************************
3 * MODULE NAME : GETOPT.H
5 * COPYRIGHTS:
6 * This module contains code made available by IBM
7 * Corporation on an AS IS basis. Any one receiving the
8 * module is considered to be licensed under IBM copyrights
9 * to use the IBM-provided source code in any way he or she
10 * deems fit, including copying it, compiling it, modifying
11 * it, and redistributing it, with or without
12 * modifications. No license under any IBM patents or
13 * patent applications is to be implied from this copyright
14 * license.
16 * A user of the module should understand that IBM cannot
17 * provide technical support for the module and will not be
18 * responsible for any consequences of use of the program.
20 * Any notices, including this one, are not to be removed
21 * from the module without the prior written consent of
22 * IBM.
24 * AUTHOR: Original author:
25 * G. R. Blair (BOBBLAIR at AUSVM1)
26 * Internet: bobblair@bobblair.austin.ibm.com
28 * Extensively revised by:
29 * John Q. Walker II, Ph.D. (JOHHQ at RALVM6)
30 * Internet: johnq@ralvm6.vnet.ibm.com
32 *****************************************************************************/
34 #ifndef WIN32
35 #include "config.h"
36 #endif
38 #ifndef HAVE_GETOPT
40 extern char * optarg;
41 extern int optind;
43 int getopt ( int argc, char **argv, char *optstring);
45 #else
46 #include <unistd.h>
47 #endif