[PATCH 3/5] os: Remove unused lockit function
Mikhail Gusarov
dottedmag at dottedmag.net
Fri Jun 11 11:22:49 PDT 2010
Signed-off-by: Mikhail Gusarov <dottedmag at dottedmag.net>
---
os/utils.c | 17 -----------------
1 files changed, 0 insertions(+), 17 deletions(-)
diff --git a/os/utils.c b/os/utils.c
index 2678d24..f6bcecb 100644
--- a/os/utils.c
+++ b/os/utils.c
@@ -1858,20 +1858,3 @@ error:
free(list);
return NULL;
}
-
-#ifdef __SCO__
-#include <fcntl.h>
-
-static void
-lockit (int fd, short what)
-{
- struct flock lck;
-
- lck.l_whence = 0;
- lck.l_start = 0;
- lck.l_len = 1;
- lck.l_type = what;
-
- (void)fcntl (fd, F_SETLKW, &lck);
-}
-#endif /* __SCO__ */
--
1.7.1
More information about the xorg-devel
mailing list