diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/s6-dns/s6dns-analyze.h | 2 | ||||
-rw-r--r-- | src/include/s6-dns/s6dns-domain.h | 2 | ||||
-rw-r--r-- | src/include/s6-dns/s6dns-fmt.h | 3 | ||||
-rw-r--r-- | src/include/s6-dns/skadns.h | 2 |
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 |