summaryrefslogtreecommitdiffstats
path: root/lib/replace/replace.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-06-02 21:25:09 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-06-02 15:52:51 +0200
commite7dcb9125cb600770b330dcaa31296703c46cc7b (patch)
treeaf44e5ace50a967a305dd75b43aff1a39899fdc6 /lib/replace/replace.h
parent901e2353858676cfc33f0e324a1e632099a38473 (diff)
downloadsamba-e7dcb9125cb600770b330dcaa31296703c46cc7b.tar.gz
samba-e7dcb9125cb600770b330dcaa31296703c46cc7b.tar.xz
samba-e7dcb9125cb600770b330dcaa31296703c46cc7b.zip
libreplace: Fix build on MacOS where we have the same fn name but more arguments
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Jun 2 15:52:51 CEST 2012 on sn-devel-104
Diffstat (limited to 'lib/replace/replace.h')
-rw-r--r--lib/replace/replace.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/replace/replace.h b/lib/replace/replace.h
index 218303f296..116681396b 100644
--- a/lib/replace/replace.h
+++ b/lib/replace/replace.h
@@ -544,42 +544,42 @@ ssize_t rep_pwrite(int __fd, const void *__buf, size_t __nbytes, off_t __offset)
#endif
#if !defined(HAVE_GETXATTR) || defined(XATTR_ADDITIONAL_OPTIONS)
-#define getxattr rep_getxattr
+#define getxattr(path, name, value, size) rep_getxattr(path, name, value, size)
/* prototype is in "system/filesys.h" */
#endif
#if !defined(HAVE_FGETXATTR) || defined(XATTR_ADDITIONAL_OPTIONS)
-#define fgetxattr rep_fgetxattr
+#define fgetxattr(filedes, name, value, size) rep_fgetxattr(filedes, name, value, size)
/* prototype is in "system/filesys.h" */
#endif
#if !defined(HAVE_LISTXATTR) || defined(XATTR_ADDITIONAL_OPTIONS)
-#define listxattr rep_listxattr
+#define listxattr(path, list, size) rep_listxattr(path, list, size)
/* prototype is in "system/filesys.h" */
#endif
#if !defined(HAVE_FLISTXATTR) || defined(XATTR_ADDITIONAL_OPTIONS)
-#define flistxattr rep_flistxattr
+#define flistxattr(filedes, value, size) rep_flistxattr(filedes, value, size)
/* prototype is in "system/filesys.h" */
#endif
#if !defined(HAVE_REMOVEXATTR) || defined(XATTR_ADDITIONAL_OPTIONS)
-#define removexattr rep_removexattr
+#define removexattr(path, name) rep_removexattr(path, name)
/* prototype is in "system/filesys.h" */
#endif
#if !defined(HAVE_FREMOVEXATTR) || defined(XATTR_ADDITIONAL_OPTIONS)
-#define fremovexattr rep_fremovexattr
+#define fremovexattr(filedes, name) rep_fremovexattr(filedes, name)
/* prototype is in "system/filesys.h" */
#endif
#if !defined(HAVE_SETXATTR) || defined(XATTR_ADDITIONAL_OPTIONS)
-#define setxattr rep_setxattr
+#define setxattr(path, name, value, size, flags) rep_setxattr(path, name, value, size, flags)
/* prototype is in "system/filesys.h" */
#endif
#if !defined(HAVE_FSETXATTR) || defined(XATTR_ADDITIONAL_OPTIONS)
-#define fsetxattr rep_fsetxattr
+#define fsetxattr(filedes, name, value, size, flags) rep_fsetxattr(filedes, name, value, size, flags)
/* prototype is in "system/filesys.h" */
#endif