]> The Tcpdump Group git mirrors - libpcap/commit
Add incomplete structure declarations before typedefs using them.
authorGuy Harris <[email protected]>
Sun, 5 Jun 2016 17:54:38 +0000 (10:54 -0700)
committerGuy Harris <[email protected]>
Sun, 5 Jun 2016 17:54:38 +0000 (10:54 -0700)
commitdc65810c11ee4811ed930b888ad9a66ad35018bd
tree60b8ba2dca08e62da331f01117ecaa19e478e11e
parent5eee24af45b82f1b0b1eb861e9bad612288840b9
Add incomplete structure declarations before typedefs using them.

Perhaps some compilers will complain if you do

typedef struct XXX XXX_t;

before any declaration of "struct XXX", so put incomplete declarations
of those structures before the typedefs.
pcap/pcap.h