]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/login/logind-acl.h
resolved: don't check conflicts for DNS-SD enumeration RRs
[thirdparty/systemd.git] / src / login / logind-acl.h
index ea34590bd12f2fb29fe1e7c060d2250483fc7fd1..36690dabd319a409c3a81893592ef480ba02e254 100644 (file)
@@ -1,7 +1,5 @@
-/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-
-#ifndef foologindaclhfoo
-#define foologindaclhfoo
+/* SPDX-License-Identifier: LGPL-2.1+ */
+#pragma once
 
 /***
   This file is part of systemd.
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
-#include <sys/types.h>
 #include <stdbool.h>
-#include <libudev.h>
+#include <sys/types.h>
 
-#ifdef HAVE_ACL
+#include "libudev.h"
+
+#if HAVE_ACL
 
 int devnode_acl(const char *path,
                 bool flush,
@@ -56,5 +55,3 @@ static inline int devnode_acl_all(struct udev *udev,
 }
 
 #endif
-
-#endif