mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 17:43:38 +00:00
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 );
|
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;
|
struct handler_callback *cb = (struct handler_callback *)user;
|
||||||
callbacks->handler( cb, hdr, packet );
|
callbacks->handler( cb, hdr, packet );
|
||||||
|
|
Loading…
Reference in a new issue