aboutsummaryrefslogtreecommitdiff
path: root/pcap-linux.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2019-10-16 22:17:32 +0200
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2019-10-16 22:22:30 +0200
commit590b8eb7588ef0b590451adcb99cd77d3c399145 (patch)
tree329944fd6779a87cfb0e09f7e7c09621b1a61404 /pcap-linux.c
parentcd5ff0253ffd1a9968af485245ea3b76c1605713 (diff)
Remove the declaration of a no more used function
The warning was: ./pcap-linux.c: At top level: ./pcap-linux.c:373:13: warning: 'iface_bind_old' declared 'static' but never defined [-Wunused-function] 373 | static int iface_bind_old(int fd, const char *device, char *ebuf); | ^~~~~~~~~~~~~~
Diffstat (limited to 'pcap-linux.c')
-rw-r--r--pcap-linux.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pcap-linux.c b/pcap-linux.c
index 0f8c1049..f2e9f979 100644
--- a/pcap-linux.c
+++ b/pcap-linux.c
@@ -370,7 +370,6 @@ static int iface_ethtool_get_ts_info(const char *device, pcap_t *handle,
#ifdef HAVE_PACKET_RING
static int iface_get_offload(pcap_t *handle);
#endif
-static int iface_bind_old(int fd, const char *device, char *ebuf);
#ifdef SO_ATTACH_FILTER
static int fix_program(pcap_t *handle, struct sock_fprog *fcode,