aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@kernel.org>2016-01-30 16:34:58 -0800
committerAndrew G. Morgan <morgan@kernel.org>2016-01-30 16:34:58 -0800
commitb245719465b10d69701d9d5038ff88a18f1a4158 (patch)
tree57d9d7f666cc19c20c83c6454454d00405010059
parent1bebacbdb4da0734ae51ed408170cc69fa5290eb (diff)
downloadlibcap-b245719465b10d69701d9d5038ff88a18f1a4158.tar.gz
Delete unused #define (magit numbers from <linux/xattr.h>)
Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
-rw-r--r--libcap/cap_file.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libcap/cap_file.c b/libcap/cap_file.c
index 3acafb2..40756ea 100644
--- a/libcap/cap_file.c
+++ b/libcap/cap_file.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997,2007 Andrew G Morgan <morgan@kernel.org>
+ * Copyright (c) 1997,2007,2016 Andrew G Morgan <morgan@kernel.org>
*
* This file deals with setting capabilities on files.
*/
@@ -16,10 +16,6 @@
* details, and that way we don't need to foce clients to link any
* other libraries to access them.
*/
-#ifndef XATTR_SECURITY_PREFIX
-#define XATTR_SECURITY_PREFIX "security."
-#endif /* ndef XATTR_SECURITY_PREFIX */
-
extern ssize_t getxattr(const char *, const char *, void *, size_t);
extern ssize_t fgetxattr(int, const char *, void *, size_t);
extern int setxattr(const char *, const char *, const void *, size_t, int);