diff options
Diffstat (limited to 'include/io/dns-resolver.h')
-rw-r--r-- | include/io/dns-resolver.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/io/dns-resolver.h b/include/io/dns-resolver.h index 96a3186..8ae4857 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) /** |