aboutsummaryrefslogtreecommitdiffstats
path: root/cfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'cfile.c')
-rw-r--r--cfile.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/cfile.c b/cfile.c
index 4bfd9180da..4115df4573 100644
--- a/cfile.c
+++ b/cfile.c
@@ -19,9 +19,8 @@
#include "cfile.h"
const char *
-cap_file_get_interface_name(void *data, guint32 interface_id)
+cap_file_get_interface_name(struct _capture_file *cf, guint32 interface_id)
{
- capture_file *cf = (capture_file *) data;
wtapng_iface_descriptions_t *idb_info;
wtap_block_t wtapng_if_descr = NULL;
char* interface_name;
@@ -43,9 +42,8 @@ cap_file_get_interface_name(void *data, guint32 interface_id)
}
const char *
-cap_file_get_interface_description(void *data, guint32 interface_id)
+cap_file_get_interface_description(struct _capture_file *cf, guint32 interface_id)
{
- capture_file *cf = (capture_file *) data;
wtapng_iface_descriptions_t *idb_info;
wtap_block_t wtapng_if_descr = NULL;
char* interface_name;