diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-06-02 14:26:15 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:08:49 -0500 |
commit | 9a9a99b90a086af0ec67a46932c0b2322e716cea (patch) | |
tree | 93b4aea1bf534ff6bd639b4fd3ad8743dc62bfbb /source4/ntvfs | |
parent | 8f553ab4a1e5f2affb614c0824d4d77291343861 (diff) | |
download | samba-9a9a99b90a086af0ec67a46932c0b2322e716cea.tar.gz samba-9a9a99b90a086af0ec67a46932c0b2322e716cea.tar.xz samba-9a9a99b90a086af0ec67a46932c0b2322e716cea.zip |
r16006: only (f)getxattr returns ssize_t
metze
(This used to be commit d4af8da7c9b4c510ceb1ef96f6ff4bbf717a16d9)
Diffstat (limited to 'source4/ntvfs')
-rw-r--r-- | source4/ntvfs/posix/xattr_system.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source4/ntvfs/posix/xattr_system.c b/source4/ntvfs/posix/xattr_system.c index 58edf47bfca..81bac6caec3 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; |