diff options
author | 2015-09-20 12:18:47 +0000 | |
---|---|---|
committer | 2015-09-20 12:18:47 +0000 | |
commit | 38ec4720b9267e9f0b2ac0f2b308e0124449c118 (patch) | |
tree | e7bb5b32768d9dfc83728d759e306747e9b35470 /lib/libc/asr/getaddrinfo_async.c | |
parent | Correctly compute the userland pte index in a pte page in the userland tlb miss (diff) | |
download | wireguard-openbsd-38ec4720b9267e9f0b2ac0f2b308e0124449c118.tar.xz wireguard-openbsd-38ec4720b9267e9f0b2ac0f2b308e0124449c118.zip |
remove unused static function
Diffstat (limited to 'lib/libc/asr/getaddrinfo_async.c')
-rw-r--r-- | lib/libc/asr/getaddrinfo_async.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/lib/libc/asr/getaddrinfo_async.c b/lib/libc/asr/getaddrinfo_async.c index 19dd4ba0c90..2ed58a445f2 100644 --- a/lib/libc/asr/getaddrinfo_async.c +++ b/lib/libc/asr/getaddrinfo_async.c @@ -1,4 +1,4 @@ -/* $OpenBSD: getaddrinfo_async.c,v 1.43 2015/09/14 11:52:49 guenther Exp $ */ +/* $OpenBSD: getaddrinfo_async.c,v 1.44 2015/09/20 12:18:47 eric Exp $ */ /* * Copyright (c) 2012 Eric Faurot <eric@openbsd.org> * @@ -563,23 +563,6 @@ iter_family(struct asr_query *as, int first) } /* - * Concatenate a name and a domain name. The result has no trailing dot. - * Return the resulting string length, or 0 in case of error. - */ -static size_t -domcat(const char *name, const char *domain, char *buf, size_t buflen) -{ - size_t r; - - r = _asr_make_fqdn(name, domain, buf, buflen); - if (r == 0) - return (0); - buf[r - 1] = '\0'; - - return (r - 1); -} - -/* * Use the sockaddr at "sa" to extend the result list on the "as" context, * with the specified canonical name "cname". This function adds one * entry per protocol/socktype match. |