/* * Replacement getopt function's header file. Include this AFTER config.h. */ #ifndef _LIBRARY_GETOPT_H #define _LIBRARY_GETOPT_H 1 #ifdef HAVE_GETOPT_H #include #endif #ifdef __cplusplus extern "C" { #endif #ifndef HAVE_GETOPT int minigetopt(int, char **, char *); extern char *minioptarg; extern int minioptind, miniopterr, minioptopt; #define getopt minigetopt /* Flawfinder: ignore */ #define optarg minioptarg #define optind minioptind #define opterr miniopterr #define optopt minioptopt #endif /* !HAVE_GETOPT */ #ifdef __cplusplus } #endif #endif /* _LIBRARY_GETOPT_H */ /* EOF */