udev: use "#pragma once"

This commit is contained in:
Yu Watanabe 2018-02-09 16:33:30 +09:00
parent e5c8029e13
commit 43beb0cf68

View 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