summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-03-11 16:09:55 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-03-11 16:09:55 +0000
commit5ad27a3dc4b957191e2e657d41656810138ba789 (patch)
tree07e7e00ab43b74d6a3fdff9ad80e93882921adfa /src/include
parentf417b72c9489cd7c20b94eb8904a8911b7f6fd15 (diff)
downloads6-dns-5ad27a3dc4b957191e2e657d41656810138ba789.tar.xz
Adapt to skalibs-2.5.0.0
Diffstat (limited to 'src/include')
-rw-r--r--src/include/s6-dns/s6dns-analyze.h2
-rw-r--r--src/include/s6-dns/s6dns-domain.h2
-rw-r--r--src/include/s6-dns/s6dns-fmt.h3
-rw-r--r--src/include/s6-dns/skadns.h2
4 files changed, 4 insertions, 5 deletions
diff --git a/src/include/s6-dns/s6dns-analyze.h b/src/include/s6-dns/s6dns-analyze.h
index ff74025..35f34cf 100644
--- a/src/include/s6-dns/s6dns-analyze.h
+++ b/src/include/s6-dns/s6dns-analyze.h
@@ -18,7 +18,7 @@ struct s6dns_analyze_rtypetable_s
s6dns_analyze_record_func_t_ref f ;
} ;
-extern uint16 s6dns_analyze_qtype_parse (char const *) ;
+extern uint16_t s6dns_analyze_qtype_parse (char const *) ;
extern s6dns_analyze_rtypetable_t const *s6dns_analyze_rtypetable ;
diff --git a/src/include/s6-dns/s6dns-domain.h b/src/include/s6-dns/s6dns-domain.h
index d5ed077..2fcbe53 100644
--- a/src/include/s6-dns/s6dns-domain.h
+++ b/src/include/s6-dns/s6dns-domain.h
@@ -3,7 +3,7 @@
#ifndef S6DNS_DOMAIN_H
#define S6DNS_DOMAIN_H
-#include <sys/types.h>
+#include <string.h>
#include <skalibs/ip46.h>
typedef struct s6dns_domain_s s6dns_domain_t, *s6dns_domain_t_ref ;
diff --git a/src/include/s6-dns/s6dns-fmt.h b/src/include/s6-dns/s6dns-fmt.h
index e9d379b..4be81ec 100644
--- a/src/include/s6-dns/s6dns-fmt.h
+++ b/src/include/s6-dns/s6dns-fmt.h
@@ -4,8 +4,7 @@
#define S6DNS_FMT_H
#include <sys/types.h>
-#include <skalibs/uint16.h>
-#include <skalibs/uint32.h>
+#include <skalibs/types.h>
#include <s6-dns/s6dns-domain.h>
#include <s6-dns/s6dns-message.h>
diff --git a/src/include/s6-dns/skadns.h b/src/include/s6-dns/skadns.h
index 04803ea..b2a5aff 100644
--- a/src/include/s6-dns/skadns.h
+++ b/src/include/s6-dns/skadns.h
@@ -65,6 +65,6 @@ extern int skadns_update (skadns_t *) ;
#define skadns_clearlist(a) ((a)->list.len = 0)
extern int skadns_packetlen (skadns_t const *, uint16_t) ;
extern char const *skadns_packet (skadns_t const *, uint16_t) ;
-extern int skadns_release (skadns_t *, uint16) ;
+extern int skadns_release (skadns_t *, uint16_t) ;
#endif