From 49d8fa1058aaf23c29e074b2314492ae40d2f557 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 21 Feb 2017 12:05:07 +0000 Subject: Types change: big pass on libstddjb and libunixonacid libdatastruct still missing, library still not functional --- src/libstddjb/iobufferk_init.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libstddjb/iobufferk_init.c') 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 ; -- cgit v1.2.3