diff options
author | Cameron Katri <me@cameronkatri.com> | 2021-05-10 14:55:20 -0400 |
---|---|---|
committer | Cameron Katri <me@cameronkatri.com> | 2021-05-10 14:55:20 -0400 |
commit | d88d199f23088ac1c3d7696374b0a1c1c1c18358 (patch) | |
tree | 977307e478f76c5de5ca141268cf8ce0309a09eb /lib/libpcap/libpcap/missing/getopt.h | |
parent | 5fd83771641d15c418f747bd343ba6738d3875f7 (diff) | |
download | apple_cmds-d88d199f23088ac1c3d7696374b0a1c1c1c18358.tar.gz apple_cmds-d88d199f23088ac1c3d7696374b0a1c1c1c18358.tar.zst apple_cmds-d88d199f23088ac1c3d7696374b0a1c1c1c18358.zip |
libpcap-98.40.1
Diffstat (limited to 'lib/libpcap/libpcap/missing/getopt.h')
-rw-r--r-- | lib/libpcap/libpcap/missing/getopt.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libpcap/libpcap/missing/getopt.h b/lib/libpcap/libpcap/missing/getopt.h new file mode 100644 index 0000000..fc83c94 --- /dev/null +++ b/lib/libpcap/libpcap/missing/getopt.h @@ -0,0 +1,7 @@ +/* + * Header for the getopt() we supply if the platform doesn't supply it. + */ +extern char *optarg; /* getopt(3) external variables */ +extern int optind, opterr, optreset, optopt; + +extern int getopt(int nargc, char * const *nargv, const char *ostr); |