summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-09-07 20:01:19 +0000
committerJeremy Allison <jra@samba.org>2001-09-07 20:01:19 +0000
commit0135666934c5a8db796539b5414b72e1c2c8348d (patch)
tree46b78905661a853fe89431648359f0b60984622b /source3/smbd
parent22b51232c0df7eacfc02b102432d1e8ad8d00f74 (diff)
downloadsamba-0135666934c5a8db796539b5414b72e1c2c8348d.tar.gz
samba-0135666934c5a8db796539b5414b72e1c2c8348d.tar.bz2
samba-0135666934c5a8db796539b5414b72e1c2c8348d.zip
#ifdef out function when not used.
Jeremy. (This used to be commit fa8d626a2773569a454451e77ea56c707b33b69e)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/reply.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 26bd0b4714..0d1d5eed7c 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -4041,6 +4041,7 @@ SMB_BIG_UINT get_lock_count( char *data, int data_offset, BOOL large_file_format
return count;
}
+#if !defined(HAVE_LONGLONG)
/****************************************************************************
Pathetically try and map a 64 bit lock offset into 31 bits. I hate Windows :-).
****************************************************************************/
@@ -4072,6 +4073,7 @@ static uint32 map_lock_offset(uint32 high, uint32 low)
return (high|low);
}
+#endif /* !defined(HAVE_LONGLONG) */
/****************************************************************************
Get a lock offset, dealing with large offset requests.