summaryrefslogtreecommitdiff
path: root/src/libs6net
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-03-14 09:07:27 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-03-14 09:07:27 +0000
commit6126e9c49f01b315c82cae340caaa1d8f588c0e7 (patch)
tree0e072c8d0490d432f989e8fe94ad072188f96a4d /src/libs6net
parent53091e3bce487ee82e2805a0231e780551561717 (diff)
downloads6-networking-6126e9c49f01b315c82cae340caaa1d8f588c0e7.tar.xz
Cleanup superfluous includes
Diffstat (limited to 'src/libs6net')
-rw-r--r--src/libs6net/s6net_ident_client.c3
-rw-r--r--src/libs6net/s6net_ident_reply_get.c4
-rw-r--r--src/libs6net/s6net_ident_reply_parse.c3
3 files changed, 2 insertions, 8 deletions
diff --git a/src/libs6net/s6net_ident_client.c b/src/libs6net/s6net_ident_client.c
index a014fe2..d09da7a 100644
--- a/src/libs6net/s6net_ident_client.c
+++ b/src/libs6net/s6net_ident_client.c
@@ -1,10 +1,7 @@
/* ISC license. */
#include <string.h>
-#include <stdint.h>
#include <errno.h>
-#include <skalibs/tai.h>
-#include <skalibs/ip46.h>
#include <s6-networking/ident.h>
ssize_t s6net_ident_client (char *s, size_t max, 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_get.c b/src/libs6net/s6net_ident_reply_get.c
index 18a833d..f4d2b01 100644
--- a/src/libs6net/s6net_ident_reply_get.c
+++ b/src/libs6net/s6net_ident_reply_get.c
@@ -1,12 +1,10 @@
/* ISC license. */
-#include <stdint.h>
#include <errno.h>
-#include <skalibs/types.h>
+#include <skalibs/uint16.h>
#include <skalibs/allreadwrite.h>
#include <skalibs/buffer.h>
#include <skalibs/error.h>
-#include <skalibs/tai.h>
#include <skalibs/djbunix.h>
#include <skalibs/ip46.h>
#include <skalibs/unix-timed.h>
diff --git a/src/libs6net/s6net_ident_reply_parse.c b/src/libs6net/s6net_ident_reply_parse.c
index f2e3308..7f2daab 100644
--- a/src/libs6net/s6net_ident_reply_parse.c
+++ b/src/libs6net/s6net_ident_reply_parse.c
@@ -1,9 +1,8 @@
/* ISC license. */
#include <string.h>
-#include <stdint.h>
#include <errno.h>
-#include <skalibs/types.h>
+#include <skalibs/uint16.h>
#include <skalibs/bytestr.h>
#include <skalibs/error.h>
#include <s6-networking/ident.h>