]> granicus.if.org Git - libevent/commitdiff
evutil: mark ai_find_protocol() static (prototype-less)
authorAzat Khuzhin <a3at.mail@gmail.com>
Wed, 10 Aug 2016 13:09:09 +0000 (16:09 +0300)
committerAzat Khuzhin <a3at.mail@gmail.com>
Wed, 10 Aug 2016 13:09:45 +0000 (16:09 +0300)
evutil.c

index 7339d6105a54d8e1b77a0354cccdb917b1646b17..1e8ef7bd32801c4218e97fe75e54d00df07c342e 100644 (file)
--- a/evutil.c
+++ b/evutil.c
@@ -1238,7 +1238,7 @@ static int tested_for_getaddrinfo_hacks=0;
      field set to 0.  We test for this so we can apply an appropriate
      workaround.
 */
-struct evutil_addrinfo *ai_find_protocol(struct evutil_addrinfo *ai)
+static struct evutil_addrinfo *ai_find_protocol(struct evutil_addrinfo *ai)
 {
        while (ai) {
                if (ai->ai_protocol)