]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
various: add missing "#pragma once"
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 7 Apr 2022 12:51:55 +0000 (14:51 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 7 Apr 2022 16:25:55 +0000 (18:25 +0200)
src/basic/missing_syscall_def.h
src/basic/missing_syscalls.py
src/boot/efi/xbootldr.h
src/network/networkd-wiphy.h

index d078bf70df3d460e904e2b735dab065b67818a5d..88df92db611cd07b9e8a1ab6a4a6fc28323cb265 100644 (file)
@@ -4,6 +4,7 @@
  * Use 'ninja -C build update-syscall-tables' to download new syscall tables,
  * and 'ninja -C build update-syscall-header' to regenerate this file.
  */
+#pragma once
 
 /* Note: if this code looks strange, this is because it is derived from the same
  * template as the per-syscall blocks below. */
index 2694e83b988941f174f0a70a588f35a70684c7c3..83199bb1d755382406141937f23786abb1ecfe0b 100644 (file)
@@ -142,6 +142,7 @@ def print_syscall_defs(syscalls, tables, out):
  * Use 'ninja -C build update-syscall-tables' to download new syscall tables,
  * and 'ninja -C build update-syscall-header' to regenerate this file.
  */
+#pragma once
 ''',
           file=out)
     print(ARCH_CHECK, file=out)
index 4cb370af29cb64ad2b0a6f3b6197980b0af2acdf..205ce71edf09284d11cede746274ecf69ac59c93 100644 (file)
@@ -1,4 +1,5 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
+#pragma once
 
 #include <efi.h>
 
index 072a7e5fdd5652119fc03c9468fb3635fb0942f5..b40354704be3c52dd3f7f8690dad3c2c017c1f8c 100644 (file)
@@ -1,4 +1,5 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
+#pragma once
 
 #include <inttypes.h>