diff options
Diffstat (limited to 'src/libstddjb/siovec_seek.c')
-rw-r--r-- | src/libstddjb/siovec_seek.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstddjb/siovec_seek.c b/src/libstddjb/siovec_seek.c index f03b20a..44f8279 100644 --- a/src/libstddjb/siovec_seek.c +++ b/src/libstddjb/siovec_seek.c @@ -1,6 +1,5 @@ /* ISC license. */ -#include <sys/types.h> #include <sys/uio.h> #include <skalibs/bytestr.h> #include <skalibs/siovec.h> @@ -8,7 +7,7 @@ size_t siovec_seek (struct iovec *v, unsigned int n, size_t len) { size_t w = 0 ; - register unsigned int i = 0 ; + unsigned int i = 0 ; for (; i < n ; i++) { if (len < v[i].iov_len) break ; |