aboutsummaryrefslogtreecommitdiffstats
path: root/extcap/dpauxmon.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2018-05-17 08:06:34 +0200
committerAnders Broman <a.broman58@gmail.com>2018-05-17 06:35:53 +0000
commitc4ba94f3982a7db2ddc1b150504e13ec2abb23a1 (patch)
treebdd36685fd4c2bc9809f9578df25049e8d77dbce /extcap/dpauxmon.c
parentcf85fd13bcd40a3c24136c104ff2adacb387d613 (diff)
dpauxmon (extcap): fix no previous prototype for function 'nl_receive_timeout' [-Wmissing-prototypes]
Change-Id: Iaeda0a1c677b3ec605d1a419b1230cf994ccdf4e Reviewed-on: https://code.wireshark.org/review/27609 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'extcap/dpauxmon.c')
-rw-r--r--extcap/dpauxmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extcap/dpauxmon.c b/extcap/dpauxmon.c
index 487401d38e..fd37ad5d8f 100644
--- a/extcap/dpauxmon.c
+++ b/extcap/dpauxmon.c
@@ -242,7 +242,7 @@ out_fail_cb:
* netlink callback handlers
*/
-int nl_receive_timeout(struct nl_sock* sk, struct sockaddr_nl* nla, unsigned char** buf, struct ucred** creds)
+static int nl_receive_timeout(struct nl_sock* sk, struct sockaddr_nl* nla, unsigned char** buf, struct ucred** creds)
{
struct pollfd fds = {nl_socket_get_fd(sk), POLLIN, 0};
int poll_res = poll(&fds, 1, 500);