1 From 667137acaffb8d0cc62b47821a67a52ba0637d5c Mon Sep 17 00:00:00 2001
2 From: Mike Frysinger <vapier@gentoo.org>
3 Date: Fri, 10 Jan 2014 13:56:37 +0000
4 Subject: avoid glibc-specific DECLS defines
6 This matches what we do in all the other headers.
8 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 diff --git a/include/xattr.h b/include/xattr.h
11 index 70a84be..070d7c5 100644
15 #define XATTR_CREATE 0x1 /* set value, fail if attr already exists */
16 #define XATTR_REPLACE 0x2 /* set value, fail if attr does not exist */
24 extern int setxattr (const char *__path, const char *__name,
25 const void *__value, size_t __size, int __flags) __THROW;
26 @@ -58,6 +59,8 @@ extern int removexattr (const char *__path, const char *__name) __THROW;
27 extern int lremovexattr (const char *__path, const char *__name) __THROW;
28 extern int fremovexattr (int __filedes, const char *__name) __THROW;
35 #endif /* __XATTR_H__ */