aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2022-01-13 11:46:36 -0800
committerGuy Harris <gharris@sonic.net>2022-01-13 11:46:36 -0800
commit7da31cb1398041d9a71467eab82c9db2935f3c4c (patch)
treeb87404d15c6386a0baa54718d3dc1df228fc9727 /wiretap
parent3fce24fb99fc0c155ec8e140fc91f5ef89700971 (diff)
libpcap: remove definition of unused structure.
We don't allocate a per-dumper private data structure, so there's no need to define a structure type.
Diffstat (limited to 'wiretap')
-rw-r--r--wiretap/libpcap.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/wiretap/libpcap.c b/wiretap/libpcap.c
index 34e74137bf..adf204bddc 100644
--- a/wiretap/libpcap.c
+++ b/wiretap/libpcap.c
@@ -1002,10 +1002,6 @@ static int libpcap_read_header(wtap *wth, FILE_T fh, int *err, gchar **err_info,
return TRUE;
}
-typedef struct {
- pcap_variant_t variant;
-} libpcap_dump_t;
-
/* Returns 0 if we could write the specified encapsulation type,
an error indication otherwise. */
static int libpcap_dump_can_write_encap(int encap)