summaryrefslogtreecommitdiff
path: root/src/libsystemd/test-resolve.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsystemd/test-resolve.c')
-rw-r--r--src/libsystemd/test-resolve.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd/test-resolve.c b/src/libsystemd/test-resolve.c
index c7feb1ecdb..7c1e7aa32c 100644
--- a/src/libsystemd/test-resolve.c
+++ b/src/libsystemd/test-resolve.c
@@ -37,10 +37,10 @@
int main(int argc, char *argv[]) {
int r = 1, ret;
- _cleanup_resolve_free_ sd_resolve_t *resolve = NULL;
+ _cleanup_resolve_free_ sd_resolve *resolve = NULL;
_cleanup_resolve_addrinfo_free_ struct addrinfo *ai = NULL;
_cleanup_resolve_answer_free_ unsigned char *srv = NULL;
- sd_resolve_query_t *q1, *q2, *q3;
+ sd_resolve_query *q1, *q2, *q3;
struct addrinfo hints = {};
struct sockaddr_in sa = {};
char host[NI_MAXHOST] = "", serv[NI_MAXSERV] = "";