summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-10-23 18:40:03 +0200
committerLennart Poettering <lennart@poettering.net>2014-10-23 21:36:56 +0200
commit376a2980960baba22b9bee6b227c27c373215b5a (patch)
tree3864258917a0046cadccce6b428c2dceb96774c8 /src/shared
parent29621421753991b0f10aabfbba89d4ae3c3f033a (diff)
smack: we don't need the special labels exported, hence don't
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/smack-util.c3
-rw-r--r--src/shared/smack-util.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/src/shared/smack-util.c b/src/shared/smack-util.c
index dd7e3be1b7..a8dccd1554 100644
--- a/src/shared/smack-util.c
+++ b/src/shared/smack-util.c
@@ -27,6 +27,9 @@
#include "path-util.h"
#include "smack-util.h"
+#define SMACK_FLOOR_LABEL "_"
+#define SMACK_STAR_LABEL "*"
+
bool mac_smack_use(void) {
#ifdef HAVE_SMACK
static int cached_use = -1;
diff --git a/src/shared/smack-util.h b/src/shared/smack-util.h
index 3dc28dd727..68778da38b 100644
--- a/src/shared/smack-util.h
+++ b/src/shared/smack-util.h
@@ -25,9 +25,6 @@
#include <stdbool.h>
-#define SMACK_FLOOR_LABEL "_"
-#define SMACK_STAR_LABEL "*"
-
bool mac_smack_use(void);
int mac_smack_fix(const char *path, bool ignore_enoent, bool ignore_erofs);