summaryrefslogtreecommitdiff
path: root/src/libs6/ftrigr_subscribe.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-03-13 23:19:47 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-03-13 23:19:47 +0000
commit398f9684624eb00075af938730cad805d7bdebfd (patch)
tree39f62c903b90364970cc46a36f6fc61acef4dc1d /src/libs6/ftrigr_subscribe.c
parent046a7c08c3c1e059be55ebdf49af66f5aee4800b (diff)
downloads6-398f9684624eb00075af938730cad805d7bdebfd.tar.xz
Cleanup of superfluous includes
Diffstat (limited to 'src/libs6/ftrigr_subscribe.c')
-rw-r--r--src/libs6/ftrigr_subscribe.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libs6/ftrigr_subscribe.c b/src/libs6/ftrigr_subscribe.c
index 97e1931..3766d35 100644
--- a/src/libs6/ftrigr_subscribe.c
+++ b/src/libs6/ftrigr_subscribe.c
@@ -4,7 +4,8 @@
#include <string.h>
#include <stdint.h>
#include <errno.h>
-#include <skalibs/types.h>
+#include <skalibs/uint16.h>
+#include <skalibs/uint32.h>
#include <skalibs/tai.h>
#include <skalibs/gensetdyn.h>
#include <skalibs/skaclient.h>
@@ -14,7 +15,7 @@ uint16_t ftrigr_subscribe (ftrigr_t *a, char const *path, char const *re, uint32
{
size_t pathlen = strlen(path) ;
size_t relen = strlen(re) ;
- unsigned int i ;
+ uint32_t i ;
char err ;
char tmp[15] = "--L" ;
struct iovec v[3] = { { .iov_base = tmp, .iov_len = 15 }, { .iov_base = (char *)path, .iov_len = pathlen + 1 }, { .iov_base = (char *)re, .iov_len = relen + 1 } } ;