wpcap: Make wrap_pcap_handler() static.
Signed-off-by: Francois Gouget <fgouget@free.fr> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d5e85d975f
commit
d7b3451f8a
|
@ -90,7 +90,7 @@ static const char * CDECL wrap_datalink_val_to_name( int link )
|
|||
return pcap_datalink_val_to_name( link );
|
||||
}
|
||||
|
||||
void wrap_pcap_handler( unsigned char *user, const struct pcap_pkthdr *hdr, const unsigned char *packet )
|
||||
static void wrap_pcap_handler( unsigned char *user, const struct pcap_pkthdr *hdr, const unsigned char *packet )
|
||||
{
|
||||
struct handler_callback *cb = (struct handler_callback *)user;
|
||||
callbacks->handler( cb, hdr, packet );
|
||||
|
|
Loading…
Reference in New Issue