chiark / gitweb /
Prep v228: Apply more cosmetic changes found in upstream.
[elogind.git] / src / basic / label.c
index 82f10b21bd7142ed2adddd83a186afc67b28be0c..c09adcd32723e82a0e959132290ff1fa5628200b 100644 (file)
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
+#include "label.h"
 #include "selinux-util.h"
 #include "smack-util.h"
 #include "util.h"
-#include "label.h"
 
 int label_fix(const char *path, bool ignore_enoent, bool ignore_erofs) {
         int r, q;
@@ -58,6 +58,8 @@ int mkdir_label(const char *path, mode_t mode) {
         return mac_smack_fix(path, false, false);
 }
 
+/// UNNEEDED by elogind
+#if 0
 int symlink_label(const char *old_path, const char *new_path) {
         int r;
 
@@ -78,3 +80,4 @@ int symlink_label(const char *old_path, const char *new_path) {
 
         return mac_smack_fix(new_path, false, false);
 }
+#endif // 0