]> granicus.if.org Git - libevent/commitdiff
test: mark bev_connect_hostname() as static (to avoid prototype requirement)
authorAzat Khuzhin <azat@libevent.org>
Sat, 25 May 2019 14:29:25 +0000 (17:29 +0300)
committerAzat Khuzhin <azat@libevent.org>
Sat, 25 May 2019 14:29:55 +0000 (17:29 +0300)
test/regress_dns.c

index 6e6e59556b1a6869ad0ab94b41f1b5341eabf183..b080f341547bcddf5f4f0e61c898fda4f7cb3b9b 100644 (file)
@@ -1249,7 +1249,7 @@ be_connect_hostname_event_cb(struct bufferevent *bev, short what, void *ctx)
        }
 }
 
-int bev_connect_hostname(struct bufferevent *bev, struct evdns_base *dns,
+static int bev_connect_hostname(struct bufferevent *bev, struct evdns_base *dns,
     struct evutil_addrinfo *hints, const char *host, int port)
 {
        if (hints->ai_flags)