diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-09-08 15:01:59 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-09-11 12:26:09 -0700 |
commit | f6d0dc2344d81cc7004b553d0029d6f834314d12 (patch) | |
tree | 31ff8cc373fa1f9133c35f1c4bfd1bdb2d91e908 | |
parent | 264ba63356205fcc2b53710c3446e4940a5b8be7 (diff) | |
download | libpcap-f6d0dc2344d81cc7004b553d0029d6f834314d12.tar.gz |
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.
-rw-r--r-- | pcap-tc.c | 3 | ||||
-rw-r--r-- | pcap-tc.h | 3 |
2 files changed, 2 insertions, 4 deletions
@@ -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; @@ -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 |