diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-01-12 15:35:29 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-01-12 15:35:29 +0000 |
commit | 3f9536c5cc9ed6659ad2514859bd1716cbf7b26b (patch) | |
tree | 3f01ca46f59b9458c93ace3f07127d1e2bb460e8 /src/skadns/skadns_packetlen.c | |
parent | 3a289d1ca8dd2bce4a8bb6549709ea62262ec786 (diff) | |
download | s6-dns-3f9536c5cc9ed6659ad2514859bd1716cbf7b26b.tar.xz |
Types fix, first pass.
Some places marked XXX for the skalibs API change.
Diffstat (limited to 'src/skadns/skadns_packetlen.c')
-rw-r--r-- | src/skadns/skadns_packetlen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/skadns/skadns_packetlen.c b/src/skadns/skadns_packetlen.c index 34cbb28..f69e43f 100644 --- a/src/skadns/skadns_packetlen.c +++ b/src/skadns/skadns_packetlen.c @@ -1,11 +1,11 @@ /* ISC license. */ +#include <stdint.h> #include <errno.h> -#include <skalibs/uint16.h> #include <skalibs/gensetdyn.h> #include <s6-dns/skadns.h> -int skadns_packetlen (skadns_t const *a, uint16 id) +int skadns_packetlen (skadns_t const *a, uint16_t id) { register skadnsanswer_t *p = GENSETDYN_P(skadnsanswer_t, &a->q, id) ; switch (p->status) |