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.
This commit is contained in:
Guy Harris 2022-01-13 11:46:36 -08:00
parent 3fce24fb99
commit 7da31cb139
1 changed files with 0 additions and 4 deletions

View File

@ -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)