diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-02-21 12:05:07 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-02-21 12:05:07 +0000 |
commit | 49d8fa1058aaf23c29e074b2314492ae40d2f557 (patch) | |
tree | 393f884d5a99f984e992a0f35f1b02ac43536217 /src/libstddjb/iobufferk_init.c | |
parent | fdffefb8032922ce7ffe4c00816072a8ff2148fc (diff) | |
download | skalibs-49d8fa1058aaf23c29e074b2314492ae40d2f557.tar.xz |
Types change: big pass on libstddjb and libunixonacid
libdatastruct still missing, library still not functional
Diffstat (limited to 'src/libstddjb/iobufferk_init.c')
-rw-r--r-- | src/libstddjb/iobufferk_init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstddjb/iobufferk_init.c b/src/libstddjb/iobufferk_init.c index 7affabd..93cd615 100644 --- a/src/libstddjb/iobufferk_init.c +++ b/src/libstddjb/iobufferk_init.c @@ -11,7 +11,7 @@ static int iobufferk_init_0 (iobufferk *k) { - register int fd = open_write("/dev/null") ; + int fd = open_write("/dev/null") ; if (fd < 0) return 0 ; if (coe(fd) < 0) { @@ -34,7 +34,7 @@ static int iobufferk_init_3 (iobufferk *k) return (pipenbcoe(k->p) >= 0) ; } -static iobufferk_io_func_t_ref iobufferk_init_f[4] = +static iobufferk_output_func_t_ref iobufferk_init_f[4] = { &iobufferk_init_0, &iobufferk_nofd, &iobufferk_nofd, &iobufferk_init_3 } ; @@ -43,7 +43,7 @@ int iobufferk_init (iobufferk *k, int fdin, int fdout) { iobufferk tmp ; struct stat st ; - register int r ; + int r ; if (fstat(fdin, &st) < 0) return 0 ; r = fcntl(fdin, F_GETFL) ; if (r < 0) return 0 ; |