summaryrefslogtreecommitdiff
path: root/src/libstddjb/coe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/coe.c')
-rw-r--r--src/libstddjb/coe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstddjb/coe.c b/src/libstddjb/coe.c
index a12f9cb..9f9f184 100644
--- a/src/libstddjb/coe.c
+++ b/src/libstddjb/coe.c
@@ -5,7 +5,7 @@
int coe (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) ;
}