X-Git-Url: https://git.draconx.ca/gitweb/dxcommon.git/blobdiff_plain/476f42d951d7e9f9f30e1a6acb34982466936490..7b34413e9942b5777aed4fd3dc9c261214981e74:/t/getopt/getopt.h diff --git a/t/getopt/getopt.h b/t/getopt/getopt.h new file mode 100644 index 0000000..56c2642 --- /dev/null +++ b/t/getopt/getopt.h @@ -0,0 +1,21 @@ +/* + * Copyright © 2023 Nick Bowler + * + * Stub getopt.h for test purposes. + * + * License WTFPL2: Do What The Fuck You Want To Public License, version 2. + * This is free software: you are free to do what the fuck you want to. + * There is NO WARRANTY, to the extent permitted by law. + */ + +#ifndef TEST_GETOPT_H_ +#define TEST_GETOPT_H_ + +struct option { + const char *name; + int has_arg; + int *flag; + int val; +}; + +#endif