]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
udev: use "#pragma once"
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 9 Feb 2018 07:33:30 +0000 (16:33 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 9 Feb 2018 07:33:30 +0000 (16:33 +0900)
src/libudev/libudev-private.h

index 76730cc055bf9783816c8cca46228b9fb5ccacbf..565da326f5d9ea9e157842460a4f1ba4d49f0c59 100644 (file)
@@ -1,4 +1,6 @@
 /* SPDX-License-Identifier: LGPL-2.1+ */
+#pragma once
+
 /***
   This file is part of systemd.
 
@@ -18,9 +20,6 @@
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
-#ifndef _LIBUDEV_PRIVATE_H_
-#define _LIBUDEV_PRIVATE_H_
-
 #include <signal.h>
 #include <stdbool.h>
 #include <stdint.h>
@@ -146,5 +145,3 @@ uint64_t util_string_bloom64(const char *str);
 
 /* libudev-util-private.c */
 int util_resolve_subsys_kernel(struct udev *udev, const char *string, char *result, size_t maxsize, int read_value);
-
-#endif