diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-06-04 20:26:14 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-06-05 09:16:39 +0200 |
commit | 1370963723917eed6c93e28c9970a2b27be57ea4 (patch) | |
tree | 14c6e45fc1a4ccd1721823d65edd8a892135e23d /lib/io/src/internal.h | |
parent | 8af4ee6f415fe316894e4423235dfc4ee70d8cbb (diff) |
libio: remove buffer_offset from istream_t
Instead, make the buffer const, let the user adjust the pointer and
size. The offset can then be inferred in precache.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/io/src/internal.h')
-rw-r--r-- | lib/io/src/internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/io/src/internal.h b/lib/io/src/internal.h index 25a0196..1e51012 100644 --- a/lib/io/src/internal.h +++ b/lib/io/src/internal.h @@ -21,6 +21,7 @@ #include <stdarg.h> #include <stdlib.h> #include <unistd.h> +#include <assert.h> #include <ctype.h> #include <fcntl.h> #include <errno.h> |