summaryrefslogtreecommitdiff
path: root/source3/lib/system.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-02-09 12:05:58 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-02-17 12:19:29 +0100
commit846a697e20478798288afb43cdb7a9f389a15c69 (patch)
tree10eb5b3177a47a05e1c44b3021267704eab3b92f /source3/lib/system.c
parent59d1faa1a30abd2a4e3cdaf0db1aa736283f822c (diff)
downloadsamba-846a697e20478798288afb43cdb7a9f389a15c69.tar.gz
samba-846a697e20478798288afb43cdb7a9f389a15c69.tar.bz2
samba-846a697e20478798288afb43cdb7a9f389a15c69.zip
s3-lib Remove unused sys_fcntl_long()
Diffstat (limited to 'source3/lib/system.c')
-rw-r--r--source3/lib/system.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c
index 2342eda732..c24422f3a2 100644
--- a/source3/lib/system.c
+++ b/source3/lib/system.c
@@ -276,20 +276,6 @@ int sys_fcntl_ptr(int fd, int cmd, void *arg)
return ret;
}
-/*******************************************************************
-A fcntl wrapper that will deal with EINTR.
-********************************************************************/
-
-int sys_fcntl_long(int fd, int cmd, long arg)
-{
- int ret;
-
- do {
- ret = fcntl(fd, cmd, arg);
- } while (ret == -1 && errno == EINTR);
- return ret;
-}
-
/****************************************************************************
Get/Set all the possible time fields from a stat struct as a timespec.
****************************************************************************/