]> The Tcpdump Group git mirrors - libpcap/commit
No, the incomplete structure declarations aren't necessary.
authorGuy Harris <[email protected]>
Sun, 12 Jun 2016 21:22:59 +0000 (14:22 -0700)
committerGuy Harris <[email protected]>
Sun, 12 Jun 2016 21:22:59 +0000 (14:22 -0700)
commitf5e5a1b74d14ce30925fc057cf97b6b94b5a8bd6
tree1f7784a05278136e5add6707d7fe755d259f2379
parentdc65810c11ee4811ed930b888ad9a66ad35018bd
No, the incomplete structure declarations aren't necessary.

An implicit such declaration is done by the typedefs; the compiler
complaints were due to the user declaring a struct pcap or a pcap_t,
rather than a pointer to a struct pcap or a pcap_t - you can't do that.
pcap/pcap.h