hurd: Fix xattr function return type

They all return int, not size_t.

Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Message-Id: <20230218203717.373211-4-bugaevc@gmail.com>
This commit is contained in:
Sergey Bugaev 2023-02-18 23:37:11 +03:00 committed by Samuel Thibault
parent 32fff41bde
commit 80c2c1432d
5 changed files with 5 additions and 5 deletions

View File

@ -22,7 +22,7 @@
#include <hurd/xattr.h>
#include <hurd/fd.h>
ssize_t
int
fsetxattr (int fd, const char *name, const void *value, size_t size, int flags)
{
error_t err;

View File

@ -22,7 +22,7 @@
#include <hurd/xattr.h>
#include <fcntl.h>
ssize_t
int
lremovexattr (const char *path, const char *name)
{
error_t err;

View File

@ -22,7 +22,7 @@
#include <hurd/xattr.h>
#include <fcntl.h>
ssize_t
int
lsetxattr (const char *path, const char *name, const void *value, size_t size,
int flags)
{

View File

@ -21,7 +21,7 @@
#include <hurd.h>
#include <hurd/xattr.h>
ssize_t
int
removexattr (const char *path, const char *name)
{
error_t err;

View File

@ -21,7 +21,7 @@
#include <hurd.h>
#include <hurd/xattr.h>
ssize_t
int
setxattr (const char *path, const char *name, const void *value, size_t size,
int flags)
{