From 5ad27a3dc4b957191e2e657d41656810138ba789 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 11 Mar 2017 16:09:55 +0000 Subject: Adapt to skalibs-2.5.0.0 --- src/include/s6-dns/s6dns-analyze.h | 2 +- src/include/s6-dns/s6dns-domain.h | 2 +- src/include/s6-dns/s6dns-fmt.h | 3 +-- src/include/s6-dns/skadns.h | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) (limited to 'src/include') 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 +#include #include 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 -#include -#include +#include #include #include 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 -- cgit v1.2.3