From 2a0398dee8521704b90d3f1776a5e380bf8ac5b3 Mon Sep 17 00:00:00 2001 From: Csaba Henk Date: Wed, 12 May 2010 19:10:47 +0000 Subject: added features/mac-compat Signed-off-by: Csaba Henk Signed-off-by: Anand V. Avati BUG: 800 (Problem on OSX with NFS and CIFS exports) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=800 --- libglusterfs/src/compat.h | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'libglusterfs/src/compat.h') diff --git a/libglusterfs/src/compat.h b/libglusterfs/src/compat.h index 20db203bf9f..d69d504cbc3 100644 --- a/libglusterfs/src/compat.h +++ b/libglusterfs/src/compat.h @@ -321,36 +321,6 @@ dirent_size (struct dirent *entry) } -static inline int32_t -gf_compat_getxattr (const char *key, dict_t *dict) -{ -#ifdef GF_DARWIN_HOST_OS - return gf_darwin_compat_getxattr (key, dict); -#endif - return -1; -} - - -static inline int32_t -gf_compat_setxattr (dict_t *dict) -{ -#ifdef GF_DARWIN_HOST_OS - return gf_darwin_compat_setxattr (dict); -#endif - return -1; -} - - -static inline int32_t -gf_compat_listxattr (int len, dict_t *dict, int size) -{ -#ifdef GF_DARWIN_HOST_OS - return gf_darwin_compat_listxattr (len, dict, size); -#endif - return len; -} - - #ifdef HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC /* Linux, Solaris, Cygwin */ #define ST_ATIM_NSEC(stbuf) ((stbuf)->st_atim.tv_nsec) -- cgit