summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-10-23 18:40:03 +0200
committerAnthony G. Basile <blueness@gentoo.org>2014-10-25 18:36:25 -0400
commit619049a4a956f905be70cf3fef5f4e344e58213f (patch)
treea2e8637bdfeb6834dfc4ac2a26792299fcea9842 /src/shared
parentd6492c6bb3c453d4f427a3ea16b046e7050d7eed (diff)
smack: we don't need the special labels exported, hence don't
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
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 837c5ab428..407a8e1aa3 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 da92502928..22aef5ac23 100644
--- a/src/shared/smack-util.h
+++ b/src/shared/smack-util.h
@@ -23,9 +23,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);