Re: [tcpdump-workers] 'private' in pcap-int.h

2013-08-07 Thread Guy Harris
On Aug 7, 2013, at 6:42 AM, Gisle Vanem wrote: > 'struct pcap' has a member: > > void *private; /* private data for methods */ > > Which doesn't work so well when including pcap-int.h > from a C++ program. The file looks to be meant for C++ > because of: > > #ifdef __cplusplus > extern "C" {

[tcpdump-workers] 'private' in pcap-int.h

2013-08-07 Thread Gisle Vanem
'struct pcap' has a member: void *private; /* private data for methods */ Which doesn't work so well when including pcap-int.h from a C++ program. The file looks to be meant for C++ because of: #ifdef __cplusplus extern "C" { #endif Can this be renamed to 'priv' or '_private' ? --gv __