From 846a697e20478798288afb43cdb7a9f389a15c69 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 9 Feb 2012 12:05:58 +1100 Subject: s3-lib Remove unused sys_fcntl_long() --- source3/lib/system.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'source3/lib') diff --git a/source3/lib/system.c b/source3/lib/system.c index 2342eda732a..c24422f3a21 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. ****************************************************************************/ -- cgit v1.2.1