From 622ec3cadbda926e02af594d2ff7e89d33833b36 Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Sat, 25 Apr 2020 12:43:11 -0700 Subject: chore: prepare for refactoring to allow for fastq --- include/libn.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/libn.h') diff --git a/include/libn.h b/include/libn.h index 99e4fdb..bfeae3e 100644 --- a/include/libn.h +++ b/include/libn.h @@ -117,9 +117,9 @@ typedef struct stat io·Stat; enum SeekPos { - seek·CUR = SEEK_CUR, - seek·SET = SEEK_SET, - seek·END = SEEK_END + seek·cur = SEEK_CUR, + seek·set = SEEK_SET, + seek·end = SEEK_END }; Stream *io·open(byte *name, byte *mode); @@ -134,7 +134,7 @@ error io·putbyte(Stream *s, byte c); int io·putstring(Stream *s, string str); int io·write(Stream *s, int sz, int n, void *buf); int io·flush(Stream *s); -int io·seek(Stream *s, long off, enum SeekPos origin); +int io·seek(Stream *s, long off, enum SeekPos whence); /* generic I/O interfaces */ -- cgit v1.2.1