/* * the various things that we use to deal with getopts */ #ifndef _GETOPT_D #define _GETOPT_D #ifdef __STDC__ extern int getopt(int, char**, char*); #else extern int getopt(); #endif extern int optopt; /* last option gotten */ extern int optind; /* argv[] index of next arg */ extern int opterr; /* have getopt complain about bad arguments */ extern char *optarg; /* text passed with argument that requires some */ #define Getopt_verbose() opterr=1 #define Getopt_silent() opterr=0 #endif