summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-resolve/resolve-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-01-27 20:12:14 +0100
committerLennart Poettering <lennart@poettering.net>2014-01-27 20:12:59 +0100
commit968d3d242cc9256eaca9a18155a744b575159cbd (patch)
treec421f3664e792ccf34a0aeeadbe2b53060610bd4 /src/libsystemd/sd-resolve/resolve-util.h
parentff975efb2e88dcd5221a2f0d76c4c87e85b821a8 (diff)
resolve: update sd-resolve to match the other APIs in style and functionality
Diffstat (limited to 'src/libsystemd/sd-resolve/resolve-util.h')
-rw-r--r--src/libsystemd/sd-resolve/resolve-util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd/sd-resolve/resolve-util.h b/src/libsystemd/sd-resolve/resolve-util.h
index 58df7385c0..7da1d7b1cf 100644
--- a/src/libsystemd/sd-resolve/resolve-util.h
+++ b/src/libsystemd/sd-resolve/resolve-util.h
@@ -23,7 +23,7 @@
#include "util.h"
-DEFINE_TRIVIAL_CLEANUP_FUNC(sd_resolve*, sd_resolve_free);
+DEFINE_TRIVIAL_CLEANUP_FUNC(sd_resolve*, sd_resolve_unref);
DEFINE_TRIVIAL_CLEANUP_FUNC(struct addrinfo*, sd_resolve_freeaddrinfo);
-#define _cleanup_resolve_free_ _cleanup_(sd_resolve_freep)
+#define _cleanup_resolve_unref_ _cleanup_(sd_resolve_unrefp)
#define _cleanup_resolve_addrinfo_free_ _cleanup_(sd_resolve_freeaddrinfop)