dpauxmon (extcap): fix no previous prototype for function 'nl_receive_timeout' [...
authorAlexis La Goutte <alexis.lagoutte@gmail.com>
Thu, 17 May 2018 06:06:34 +0000 (08:06 +0200)
committerAnders Broman <a.broman58@gmail.com>
Thu, 17 May 2018 06:35:53 +0000 (06:35 +0000)
Change-Id: Iaeda0a1c677b3ec605d1a419b1230cf994ccdf4e
Reviewed-on: https://code.wireshark.org/review/27609
Reviewed-by: Anders Broman <a.broman58@gmail.com>
extcap/dpauxmon.c

index 487401d38e122918362151aec4ea14b6c9006d14..fd37ad5d8fb7be474e4676b66debdc5b64f9c525 100644 (file)
@@ -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);