diff options
Diffstat (limited to 'src/libstddjb/uncoe.c')
-rw-r--r-- | src/libstddjb/uncoe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstddjb/uncoe.c b/src/libstddjb/uncoe.c index 61593b9..b6bf430 100644 --- a/src/libstddjb/uncoe.c +++ b/src/libstddjb/uncoe.c @@ -5,7 +5,7 @@ int uncoe (int fd) { - register int flags = fcntl(fd, F_GETFD, 0) ; - if (flags < 0) return -1 ; - return fcntl(fd, F_SETFD, flags & ~FD_CLOEXEC) ; + int flags = fcntl(fd, F_GETFD, 0) ; + if (flags < 0) return -1 ; + return fcntl(fd, F_SETFD, flags & ~FD_CLOEXEC) ; } |