From: Yu Watanabe Date: Mon, 25 Jun 2018 04:04:59 +0000 (+0900) Subject: tree-wide: add multiple inclusion guard X-Git-Tag: v240~1051^2~13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f18edd8a0a768ae82ebac0f19f30fa9bc51e1398;p=thirdparty%2Fsystemd.git tree-wide: add multiple inclusion guard --- diff --git a/src/basic/crypt-util.h b/src/basic/crypt-util.h index 5b03cb072de..8c86714aec6 100644 --- a/src/basic/crypt-util.h +++ b/src/basic/crypt-util.h @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ +#pragma once #if HAVE_LIBCRYPTSETUP #include diff --git a/src/basic/exec-util.h b/src/basic/exec-util.h index 8b1f18139c6..823ca6578cf 100644 --- a/src/basic/exec-util.h +++ b/src/basic/exec-util.h @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ +#pragma once #include diff --git a/src/fuzz/fuzz.h b/src/fuzz/fuzz.h index e2bfab31685..1e56526259b 100644 --- a/src/fuzz/fuzz.h +++ b/src/fuzz/fuzz.h @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ +#pragma once #include #include diff --git a/src/locale/keymap-util.h b/src/locale/keymap-util.h index c55c9f92a6e..902da689c88 100644 --- a/src/locale/keymap-util.h +++ b/src/locale/keymap-util.h @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ +#pragma once #include "sd-bus.h" diff --git a/src/portable/portabled-image-bus.h b/src/portable/portabled-image-bus.h index 81c17f68af0..825dea26821 100644 --- a/src/portable/portabled-image-bus.h +++ b/src/portable/portabled-image-bus.h @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ +#pragma once #include "sd-bus.h" diff --git a/src/portable/portabled-image.h b/src/portable/portabled-image.h index f29bd89e83a..26ce2f6b595 100644 --- a/src/portable/portabled-image.h +++ b/src/portable/portabled-image.h @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ +#pragma once #include "hashmap.h" #include "machine-image.h" diff --git a/src/resolve/resolvconf-compat.h b/src/resolve/resolvconf-compat.h index 507ac3d222e..872add1d56c 100644 --- a/src/resolve/resolvconf-compat.h +++ b/src/resolve/resolvconf-compat.h @@ -1,3 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ +#pragma once int resolvconf_parse_argv(int argc, char *argv[]); diff --git a/src/resolve/resolvectl.h b/src/resolve/resolvectl.h index 6ecaa4ff31a..9008daace54 100644 --- a/src/resolve/resolvectl.h +++ b/src/resolve/resolvectl.h @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ +#pragma once #include #include diff --git a/src/shared/journal-util.h b/src/shared/journal-util.h index 404fa53b30e..da86434a679 100644 --- a/src/shared/journal-util.h +++ b/src/shared/journal-util.h @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ +#pragma once #include #include