summaryrefslogtreecommitdiff
path: root/src/libstddjb/lock_exnb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/lock_exnb.c')
-rw-r--r--src/libstddjb/lock_exnb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstddjb/lock_exnb.c b/src/libstddjb/lock_exnb.c
index 7fed9f0..a1785a9 100644
--- a/src/libstddjb/lock_exnb.c
+++ b/src/libstddjb/lock_exnb.c
@@ -11,7 +11,7 @@
int lock_exnb (int fd)
{
- register int r ;
+ int r ;
do
r = flock(fd, LOCK_EX | LOCK_NB) ;
while ((r == -1) && (errno == EINTR)) ;
@@ -27,7 +27,7 @@ int lock_exnb (int fd)
int lock_exnb (int fd)
{
- register int r ;
+ int r ;
do
r = lockf(fd, F_TLOCK, 0) ;
while ((r == -1) && (errno == EINTR)) ;