From 7be747499ef4ce5760fd6acf84c987466072f376 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Mon, 30 Apr 2018 11:19:21 -0700 Subject: Pass the "get additional flags" function to the findalldevs helpers. This lets us make it a static function - or eliminate it entirely for pcap-null.c. --- pcap-null.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'pcap-null.c') diff --git a/pcap-null.c b/pcap-null.c index f7e5cfbd..92a5e2d8 100644 --- a/pcap-null.c +++ b/pcap-null.c @@ -36,15 +36,6 @@ pcap_create_interface(const char *device _U_, char *ebuf) return (NULL); } -int -get_if_flags(const char *name _U_, bpf_u_int32 *flags _U_, char *errbuf _U_) -{ - /* - * There are no interfaces, so this will never be called. - */ - return (0); -} - int pcap_platform_finddevs(pcap_if_list_t *devlistp, char *errbuf) { -- cgit v1.2.3