summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-resolve.c
diff options
context:
space:
mode:
authorDaniel Buch <boogiewasthere@gmail.com>2014-01-18 14:30:26 +0100
committerTom Gundersen <teg@jklm.no>2014-01-18 17:52:10 +0100
commit65883c9108cb2670a5458f0c2f49a5879f2a4ed9 (patch)
treeb0dfa941b449b7cf2178fc6dd02309453a51e177 /src/libsystemd/sd-resolve.c
parent039ebe6aebaebcaa18375b33caf1db5fe2551621 (diff)
sd-resolve: get rid of sd_resolve_freeanswer()
Diffstat (limited to 'src/libsystemd/sd-resolve.c')
-rw-r--r--src/libsystemd/sd-resolve.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/libsystemd/sd-resolve.c b/src/libsystemd/sd-resolve.c
index a368c1b13c..6958aa9410 100644
--- a/src/libsystemd/sd-resolve.c
+++ b/src/libsystemd/sd-resolve.c
@@ -1105,17 +1105,6 @@ void sd_resolve_freeaddrinfo(struct addrinfo *ai) {
errno = saved_errno;
}
-void sd_resolve_freeanswer(unsigned char *answer) {
- int saved_errno = errno;
-
- if (!answer)
- return;
-
- free(answer);
-
- errno = saved_errno;
-}
-
int sd_resolve_isdone(sd_resolve *resolve, sd_resolve_query*q) {
assert(resolve);
assert(q);