summaryrefslogtreecommitdiff
path: root/include/io/dns-resolver.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/io/dns-resolver.h')
-rw-r--r--include/io/dns-resolver.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/io/dns-resolver.h b/include/io/dns-resolver.h
index 96a3186b6b..8ae4857e05 100644
--- a/include/io/dns-resolver.h
+++ b/include/io/dns-resolver.h
@@ -26,10 +26,8 @@
#include "io/task.h"
#define TYPE_QIO_DNS_RESOLVER "qio-dns-resolver"
-typedef struct QIODNSResolver QIODNSResolver;
-typedef struct QIODNSResolverClass QIODNSResolverClass;
-DECLARE_OBJ_CHECKERS(QIODNSResolver, QIODNSResolverClass,
- QIO_DNS_RESOLVER, TYPE_QIO_DNS_RESOLVER)
+OBJECT_DECLARE_TYPE(QIODNSResolver, QIODNSResolverClass,
+ qio_dns_resolver, QIO_DNS_RESOLVER)
/**