]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/login/logind-acl.h
tree-wide: remove Lennart's copyright lines
[thirdparty/systemd.git] / src / login / logind-acl.h
index 72740f5b9571a3bcabf9c965c925e77c1e984eeb..79700670ccbe5ae634170691bf237fd8853b9b6f 100644 (file)
@@ -1,32 +1,12 @@
-/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
+/* SPDX-License-Identifier: LGPL-2.1+ */
+#pragma once
 
-#ifndef foologindaclhfoo
-#define foologindaclhfoo
-
-/***
-  This file is part of systemd.
-
-  Copyright 2011 Lennart Poettering
-
-  systemd is free software; you can redistribute it and/or modify it
-  under the terms of the GNU General Public License as published by
-  the Free Software Foundation; either version 2 of the License, or
-  (at your option) any later version.
-
-  systemd is distributed in the hope that it will be useful, but
-  WITHOUT ANY WARRANTY; without even the implied warranty of
-  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-  General Public License for more details.
-
-  You should have received a copy of the GNU General Public License
-  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>
+
+#include "libudev.h"
 
-#ifdef HAVE_ACL
+#if HAVE_ACL
 
 int devnode_acl(const char *path,
                 bool flush,
@@ -56,5 +36,3 @@ static inline int devnode_acl_all(struct udev *udev,
 }
 
 #endif
-
-#endif