summaryrefslogtreecommitdiff
path: root/lib/sqfs/xattr.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-03-05 15:17:45 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-03-05 15:17:45 +0100
commit5acb22a6a7168f8b961777482f39a125158def50 (patch)
tree24e7b46a2b69a938fc7906bc690c652a1aeab269 /lib/sqfs/xattr.c
parentfbf41ac14978c93d054832af6331e6795fb86b0f (diff)
Cleanup: Remove the E_ prefix from all libsquashfs enumerators
Avoid namespace polution. Make sure all exportet symbols are prefixed with either sqfs_ or SQFS_. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/xattr.c')
-rw-r--r--lib/sqfs/xattr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqfs/xattr.c b/lib/sqfs/xattr.c
index 909a9a5..29ecebf 100644
--- a/lib/sqfs/xattr.c
+++ b/lib/sqfs/xattr.c
@@ -13,7 +13,7 @@
static const struct {
const char *prefix;
- E_SQFS_XATTR_TYPE type;
+ SQFS_XATTR_TYPE type;
} xattr_types[] = {
{ "user.", SQFS_XATTR_USER },
{ "trusted.", SQFS_XATTR_TRUSTED },
@@ -36,7 +36,7 @@ int sqfs_get_xattr_prefix_id(const char *key)
return SQFS_ERROR_UNSUPPORTED;
}
-const char *sqfs_get_xattr_prefix(E_SQFS_XATTR_TYPE id)
+const char *sqfs_get_xattr_prefix(SQFS_XATTR_TYPE id)
{
size_t i;