From f6d0dc2344d81cc7004b553d0029d6f834314d12 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 8 Sep 2015 15:01:59 -0700 Subject: Don't export TcGetReceiveWaitHandle(). It's now "exported" through the pcap_t ops vector, rather than being directly called from pcap-win32.c, so make it static again and remove it from pcap-tc.h. --- pcap-tc.c | 3 ++- pcap-tc.h | 3 --- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/pcap-tc.c b/pcap-tc.c index 4428a489..23b82c57 100644 --- a/pcap-tc.c +++ b/pcap-tc.c @@ -132,6 +132,7 @@ static struct pcap_stat *TcStatsEx(pcap_t *p, int *pcap_stat_size); static int TcSetBuff(pcap_t *p, int dim); static int TcSetMode(pcap_t *p, int mode); static int TcSetMinToCopy(pcap_t *p, int size); +static HANDLE TcGetReceiveWaitHandle(pcap_t *p); static int TcOidGetRequest(pcap_t *p, pcap_oid_data_t *data); static int TcOidSetRequest(pcap_t *p, pcap_oid_data_t *data); static u_int TcOidSendqueueTransmit(pcap_t *p, pcap_send_queue *queue, int sync); @@ -1218,7 +1219,7 @@ TcSetMinToCopy(pcap_t *p, int size) return 0; } -HANDLE +static HANDLE TcGetReceiveWaitHandle(pcap_t *p) { struct pcap_tc *pt = p->priv; diff --git a/pcap-tc.h b/pcap-tc.h index ecb89325..6253767c 100644 --- a/pcap-tc.h +++ b/pcap-tc.h @@ -51,7 +51,4 @@ TcCreate(const char *device, char *ebuf, int *is_ours); int TcFindAllDevs(pcap_if_t **alldevsp, char *errbuf); -HANDLE -TcGetReceiveWaitHandle(pcap_t *p); - #endif -- cgit v1.2.1