]> git.draconx.ca Git - dxcommon.git/blob - t/getopt/getopt.h
help: Allow tests to build/run without <getopt.h>
[dxcommon.git] / t / getopt / getopt.h
1 /*
2  * Copyright © 2023 Nick Bowler
3  *
4  * Stub getopt.h for test purposes.
5  *
6  * License WTFPL2: Do What The Fuck You Want To Public License, version 2.
7  * This is free software: you are free to do what the fuck you want to.
8  * There is NO WARRANTY, to the extent permitted by law.
9  */
10
11 #ifndef TEST_GETOPT_H_
12 #define TEST_GETOPT_H_
13
14 struct option {
15         const char *name;
16         int has_arg;
17         int *flag;
18         int val;
19 };
20
21 #endif