mirror of git://sourceware.org/git/glibc.git
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:
parent
32fff41bde
commit
80c2c1432d
|
@ -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;
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include <hurd/xattr.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
ssize_t
|
||||
int
|
||||
lremovexattr (const char *path, const char *name)
|
||||
{
|
||||
error_t err;
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include <hurd.h>
|
||||
#include <hurd/xattr.h>
|
||||
|
||||
ssize_t
|
||||
int
|
||||
removexattr (const char *path, const char *name)
|
||||
{
|
||||
error_t err;
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue