summaryrefslogtreecommitdiff
path: root/src/libs6net
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-02-20 11:40:19 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-02-20 11:40:19 +0000
commit42df0cd80d936fd8b6b8207df08ef321412d7633 (patch)
tree1fc28afdf0fb0937c580a57754d6b2d07344e475 /src/libs6net
parent8887b16764603145d3bb9b4c3d56a3c0411b366e (diff)
downloads6-networking-42df0cd80d936fd8b6b8207df08ef321412d7633.tar.xz
Adapt to skalibs/posixishard.h
Diffstat (limited to 'src/libs6net')
-rw-r--r--src/libs6net/s6net_ident_reply_get.c4
-rw-r--r--src/libs6net/s6net_ident_reply_parse.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/libs6net/s6net_ident_reply_get.c b/src/libs6net/s6net_ident_reply_get.c
index f4d2b01..0dc7130 100644
--- a/src/libs6net/s6net_ident_reply_get.c
+++ b/src/libs6net/s6net_ident_reply_get.c
@@ -1,13 +1,15 @@
/* ISC license. */
#include <errno.h>
+
+#include <skalibs/posixishard.h>
#include <skalibs/uint16.h>
#include <skalibs/allreadwrite.h>
#include <skalibs/buffer.h>
-#include <skalibs/error.h>
#include <skalibs/djbunix.h>
#include <skalibs/ip46.h>
#include <skalibs/unix-timed.h>
+
#include <s6-networking/ident.h>
ssize_t s6net_ident_reply_get (char *s, ip46_t const *remoteip, uint16_t remoteport, ip46_t const *localip, uint16_t localport, tain_t const *deadline, tain_t *stamp)
diff --git a/src/libs6net/s6net_ident_reply_parse.c b/src/libs6net/s6net_ident_reply_parse.c
index 7f2daab..b55793d 100644
--- a/src/libs6net/s6net_ident_reply_parse.c
+++ b/src/libs6net/s6net_ident_reply_parse.c
@@ -2,9 +2,11 @@
#include <string.h>
#include <errno.h>
+
+#include <skalibs/posixishard.h>
#include <skalibs/uint16.h>
#include <skalibs/bytestr.h>
-#include <skalibs/error.h>
+
#include <s6-networking/ident.h>
static size_t skipspace (char const *s)