From 9a9a99b90a086af0ec67a46932c0b2322e716cea Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 2 Jun 2006 14:26:15 +0000 Subject: r16006: only (f)getxattr returns ssize_t metze (This used to be commit d4af8da7c9b4c510ceb1ef96f6ff4bbf717a16d9) --- source4/ntvfs/posix/xattr_system.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'source4/ntvfs/posix') diff --git a/source4/ntvfs/posix/xattr_system.c b/source4/ntvfs/posix/xattr_system.c index 58edf47bfc..81bac6caec 100644 --- a/source4/ntvfs/posix/xattr_system.c +++ b/source4/ntvfs/posix/xattr_system.c @@ -32,19 +32,19 @@ static ssize_t _wrap_getxattr(const char *path, const char *name, void *value, s { return getxattr(path, name, value, size, 0, 0); } -static ssize_t _wrap_fsetxattr(int fd, const char *name, void *value, size_t size, int flags) +static int _wrap_fsetxattr(int fd, const char *name, void *value, size_t size, int flags) { return fsetxattr(fd, name, value, size, 0, flags); } -static ssize_t _wrap_setxattr(const char *path, const char *name, void *value, size_t size, int flags) +static int _wrap_setxattr(const char *path, const char *name, void *value, size_t size, int flags) { return setxattr(path, name, value, size, 0, flags); } -static ssize_t _wrap_fremovexattr(int fd, const char *name) +static int _wrap_fremovexattr(int fd, const char *name) { return fremovexattr(fd, name, 0); } -static ssize_t _wrap_removexattr(const char *path, const char *name) +static int _wrap_removexattr(const char *path, const char *name) { return removexattr(path, name, 0); } @@ -65,22 +65,22 @@ static ssize_t _none_getxattr(const char *path, const char *name, void *value, s errno = ENOTSUP; return -1; } -static ssize_t _none_fsetxattr(int fd, const char *name, void *value, size_t size, int flags) +static int _none_fsetxattr(int fd, const char *name, void *value, size_t size, int flags) { errno = ENOTSUP; return -1; } -static ssize_t _none_setxattr(const char *path, const char *name, void *value, size_t size, int flags) +static int _none_setxattr(const char *path, const char *name, void *value, size_t size, int flags) { errno = ENOTSUP; return -1; } -static ssize_t _none_fremovexattr(int fd, const char *name) +static int _none_fremovexattr(int fd, const char *name) { errno = ENOTSUP; return -1; } -static ssize_t _none_removexattr(const char *path, const char *name) +static int _none_removexattr(const char *path, const char *name) { errno = ENOTSUP; return -1; -- cgit