summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-09-08 15:01:59 -0700
committerGuy Harris <guy@alum.mit.edu>2015-09-11 12:26:09 -0700
commitf6d0dc2344d81cc7004b553d0029d6f834314d12 (patch)
tree31ff8cc373fa1f9133c35f1c4bfd1bdb2d91e908
parent264ba63356205fcc2b53710c3446e4940a5b8be7 (diff)
downloadlibpcap-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.c3
-rw-r--r--pcap-tc.h3
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