diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-06-29 04:02:17 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-06-29 04:02:17 +0200 |
commit | afb76fdbff6b17ab8d44b5721517cec519eac455 (patch) | |
tree | 906b777fe0e5dd9e356d359f419a0ffe5de9d766 | |
parent | tree-wide: drop empty comments (diff) | |
download | systemd-afb76fdbff6b17ab8d44b5721517cec519eac455.tar.xz systemd-afb76fdbff6b17ab8d44b5721517cec519eac455.zip |
tree-wide: drop double newline
104 files changed, 0 insertions, 104 deletions
diff --git a/src/basic/barrier.h b/src/basic/barrier.h index 96a9955c6f..fb7004c0f2 100644 --- a/src/basic/barrier.h +++ b/src/basic/barrier.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <stdbool.h> #include <stdint.h> #include <sys/types.h> diff --git a/src/basic/bitmap.h b/src/basic/bitmap.h index 7ff5cffd26..843d27d24d 100644 --- a/src/basic/bitmap.h +++ b/src/basic/bitmap.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <stdbool.h> #include "hashmap.h" diff --git a/src/basic/conf-files.h b/src/basic/conf-files.h index 9da03ed228..744ff80c09 100644 --- a/src/basic/conf-files.h +++ b/src/basic/conf-files.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - enum { CONF_FILES_EXECUTABLE = 1 << 0, CONF_FILES_REGULAR = 1 << 1, diff --git a/src/basic/cpu-set-util.h b/src/basic/cpu-set-util.h index ec76f1a97e..1b6bd35b1c 100644 --- a/src/basic/cpu-set-util.h +++ b/src/basic/cpu-set-util.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <sched.h> #include "macro.h" diff --git a/src/basic/ether-addr-util.h b/src/basic/ether-addr-util.h index f12f1215d2..3be0370049 100644 --- a/src/basic/ether-addr-util.h +++ b/src/basic/ether-addr-util.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <net/ethernet.h> #include <stdbool.h> diff --git a/src/basic/fileio-label.h b/src/basic/fileio-label.h index 80b1ccc5af..d11112debd 100644 --- a/src/basic/fileio-label.h +++ b/src/basic/fileio-label.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <stdio.h> #include "fileio.h" diff --git a/src/basic/format-util.h b/src/basic/format-util.h index 160550cd68..dece5d3a67 100644 --- a/src/basic/format-util.h +++ b/src/basic/format-util.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <inttypes.h> #if SIZEOF_PID_T == 4 diff --git a/src/basic/hash-funcs.h b/src/basic/hash-funcs.h index 5e5989f021..fa45cfe256 100644 --- a/src/basic/hash-funcs.h +++ b/src/basic/hash-funcs.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "macro.h" #include "siphash24.h" diff --git a/src/basic/hashmap.h b/src/basic/hashmap.h index 5c70c102d7..274afb395c 100644 --- a/src/basic/hashmap.h +++ b/src/basic/hashmap.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <limits.h> #include <stdbool.h> #include <stddef.h> diff --git a/src/basic/mempool.h b/src/basic/mempool.h index 2a41cb358c..4098535c6f 100644 --- a/src/basic/mempool.h +++ b/src/basic/mempool.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <stddef.h> struct pool; diff --git a/src/basic/mkdir.h b/src/basic/mkdir.h index 8e83fb102b..bdca15460e 100644 --- a/src/basic/mkdir.h +++ b/src/basic/mkdir.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <sys/types.h> typedef enum MkdirFlags { diff --git a/src/basic/securebits-util.h b/src/basic/securebits-util.h index 10a221d6a0..3cb3cb3d08 100644 --- a/src/basic/securebits-util.h +++ b/src/basic/securebits-util.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "securebits.h" int secure_bits_to_string_alloc(int i, char **s); diff --git a/src/basic/strbuf.h b/src/basic/strbuf.h index 75ed30b05b..a36944ad39 100644 --- a/src/basic/strbuf.h +++ b/src/basic/strbuf.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <stddef.h> #include <stdint.h> #include <sys/types.h> diff --git a/src/basic/strxcpyx.h b/src/basic/strxcpyx.h index 458f9f2568..0f2b7499ba 100644 --- a/src/basic/strxcpyx.h +++ b/src/basic/strxcpyx.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <stddef.h> #include "macro.h" diff --git a/src/basic/unaligned.h b/src/basic/unaligned.h index 8a1d06445e..e62188d1a7 100644 --- a/src/basic/unaligned.h +++ b/src/basic/unaligned.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <endian.h> #include <stdint.h> diff --git a/src/core/bpf-firewall.h b/src/core/bpf-firewall.h index e2d08a0fc8..7d38483dbd 100644 --- a/src/core/bpf-firewall.h +++ b/src/core/bpf-firewall.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <inttypes.h> #include "unit.h" diff --git a/src/core/ip-address-access.h b/src/core/ip-address-access.h index 7babf19562..77078e1f14 100644 --- a/src/core/ip-address-access.h +++ b/src/core/ip-address-access.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "conf-parser.h" #include "in-addr-util.h" #include "list.h" diff --git a/src/core/selinux-access.h b/src/core/selinux-access.h index 8736bdeef1..1e75930f57 100644 --- a/src/core/selinux-access.h +++ b/src/core/selinux-access.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "sd-bus.h" #include "bus-util.h" diff --git a/src/libsystemd-network/dhcp-identifier.h b/src/libsystemd-network/dhcp-identifier.h index b92c580d40..8250c76598 100644 --- a/src/libsystemd-network/dhcp-identifier.h +++ b/src/libsystemd-network/dhcp-identifier.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "sd-id128.h" #include "macro.h" diff --git a/src/libsystemd-network/lldp-internal.h b/src/libsystemd-network/lldp-internal.h index 7c10a67a35..328d51f8ea 100644 --- a/src/libsystemd-network/lldp-internal.h +++ b/src/libsystemd-network/lldp-internal.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "sd-event.h" #include "sd-lldp.h" diff --git a/src/libsystemd-network/lldp-network.h b/src/libsystemd-network/lldp-network.h index 914139793c..e4ed2898a5 100644 --- a/src/libsystemd-network/lldp-network.h +++ b/src/libsystemd-network/lldp-network.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "sd-event.h" int lldp_network_bind_raw_socket(int ifindex); diff --git a/src/libsystemd-network/network-internal.h b/src/libsystemd-network/network-internal.h index 883f34b95c..c4d79cca22 100644 --- a/src/libsystemd-network/network-internal.h +++ b/src/libsystemd-network/network-internal.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <stdbool.h> #include "sd-dhcp-lease.h" diff --git a/src/libsystemd/sd-bus/bus-common-errors.h b/src/libsystemd/sd-bus/bus-common-errors.h index 6b2c04fb32..daf7cdae67 100644 --- a/src/libsystemd/sd-bus/bus-common-errors.h +++ b/src/libsystemd/sd-bus/bus-common-errors.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "bus-error.h" #define BUS_ERROR_NO_SUCH_UNIT "org.freedesktop.systemd1.NoSuchUnit" diff --git a/src/libsystemd/sd-bus/bus-container.h b/src/libsystemd/sd-bus/bus-container.h index e2ccd0d77b..f6ef688032 100644 --- a/src/libsystemd/sd-bus/bus-container.h +++ b/src/libsystemd/sd-bus/bus-container.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "sd-bus.h" int bus_container_connect_socket(sd_bus *b); diff --git a/src/libsystemd/sd-bus/bus-control.h b/src/libsystemd/sd-bus/bus-control.h index c53361d558..3fb52b67c6 100644 --- a/src/libsystemd/sd-bus/bus-control.h +++ b/src/libsystemd/sd-bus/bus-control.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "sd-bus.h" int bus_add_match_internal(sd_bus *bus, const char *match); diff --git a/src/libsystemd/sd-bus/bus-creds.h b/src/libsystemd/sd-bus/bus-creds.h index 55e53501c2..508ef9d352 100644 --- a/src/libsystemd/sd-bus/bus-creds.h +++ b/src/libsystemd/sd-bus/bus-creds.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <stdbool.h> #include "sd-bus.h" diff --git a/src/libsystemd/sd-bus/bus-dump.h b/src/libsystemd/sd-bus/bus-dump.h index 97fce1b7d6..373a86dd4f 100644 --- a/src/libsystemd/sd-bus/bus-dump.h +++ b/src/libsystemd/sd-bus/bus-dump.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <stdbool.h> #include <stdio.h> diff --git a/src/libsystemd/sd-bus/bus-error.h b/src/libsystemd/sd-bus/bus-error.h index 97acb4839f..06c478a362 100644 --- a/src/libsystemd/sd-bus/bus-error.h +++ b/src/libsystemd/sd-bus/bus-error.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <stdbool.h> #include "sd-bus.h" diff --git a/src/libsystemd/sd-bus/bus-gvariant.h b/src/libsystemd/sd-bus/bus-gvariant.h index b9fed26da1..644b5f4b20 100644 --- a/src/libsystemd/sd-bus/bus-gvariant.h +++ b/src/libsystemd/sd-bus/bus-gvariant.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "macro.h" int bus_gvariant_get_size(const char *signature) _pure_; diff --git a/src/libsystemd/sd-bus/bus-internal.h b/src/libsystemd/sd-bus/bus-internal.h index 4586e49034..251fc9b42d 100644 --- a/src/libsystemd/sd-bus/bus-internal.h +++ b/src/libsystemd/sd-bus/bus-internal.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <pthread.h> #include <sys/socket.h> diff --git a/src/libsystemd/sd-bus/bus-introspect.h b/src/libsystemd/sd-bus/bus-introspect.h index eb4a6887f5..bb2dd7ef7b 100644 --- a/src/libsystemd/sd-bus/bus-introspect.h +++ b/src/libsystemd/sd-bus/bus-introspect.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <stdio.h> #include "sd-bus.h" diff --git a/src/libsystemd/sd-bus/bus-kernel.h b/src/libsystemd/sd-bus/bus-kernel.h index fac02a69c1..fbbc43f6fa 100644 --- a/src/libsystemd/sd-bus/bus-kernel.h +++ b/src/libsystemd/sd-bus/bus-kernel.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "sd-bus.h" #define MEMFD_CACHE_MAX 32 diff --git a/src/libsystemd/sd-bus/bus-match.h b/src/libsystemd/sd-bus/bus-match.h index f7c7205aae..b9c0fcec90 100644 --- a/src/libsystemd/sd-bus/bus-match.h +++ b/src/libsystemd/sd-bus/bus-match.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "sd-bus.h" #include "hashmap.h" diff --git a/src/libsystemd/sd-bus/bus-message.h b/src/libsystemd/sd-bus/bus-message.h index d17cec4b78..ef6ddc1cc0 100644 --- a/src/libsystemd/sd-bus/bus-message.h +++ b/src/libsystemd/sd-bus/bus-message.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <byteswap.h> #include <stdbool.h> #include <sys/socket.h> diff --git a/src/libsystemd/sd-bus/bus-objects.h b/src/libsystemd/sd-bus/bus-objects.h index 961aabe88e..a119ff95c0 100644 --- a/src/libsystemd/sd-bus/bus-objects.h +++ b/src/libsystemd/sd-bus/bus-objects.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "bus-internal.h" int bus_process_object(sd_bus *bus, sd_bus_message *m); diff --git a/src/libsystemd/sd-bus/bus-protocol.h b/src/libsystemd/sd-bus/bus-protocol.h index a44f530e27..a5f4724aa9 100644 --- a/src/libsystemd/sd-bus/bus-protocol.h +++ b/src/libsystemd/sd-bus/bus-protocol.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <endian.h> #include "macro.h" diff --git a/src/libsystemd/sd-bus/bus-signature.h b/src/libsystemd/sd-bus/bus-signature.h index 58b1e4794a..b87bec8329 100644 --- a/src/libsystemd/sd-bus/bus-signature.h +++ b/src/libsystemd/sd-bus/bus-signature.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <stdbool.h> bool signature_is_single(const char *s, bool allow_dict_entry); diff --git a/src/libsystemd/sd-bus/bus-slot.h b/src/libsystemd/sd-bus/bus-slot.h index cf0ed4f755..555afac9a6 100644 --- a/src/libsystemd/sd-bus/bus-slot.h +++ b/src/libsystemd/sd-bus/bus-slot.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "sd-bus.h" #include "bus-internal.h" diff --git a/src/libsystemd/sd-bus/bus-socket.h b/src/libsystemd/sd-bus/bus-socket.h index a21cbdd7d9..f8d24556c9 100644 --- a/src/libsystemd/sd-bus/bus-socket.h +++ b/src/libsystemd/sd-bus/bus-socket.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "sd-bus.h" void bus_socket_setup(sd_bus *b); diff --git a/src/libsystemd/sd-bus/bus-track.h b/src/libsystemd/sd-bus/bus-track.h index 602647f8e3..209b989d27 100644 --- a/src/libsystemd/sd-bus/bus-track.h +++ b/src/libsystemd/sd-bus/bus-track.h @@ -1,6 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - void bus_track_dispatch(sd_bus_track *track); void bus_track_close(sd_bus_track *track); diff --git a/src/libsystemd/sd-bus/bus-type.h b/src/libsystemd/sd-bus/bus-type.h index a6e1de276d..b518461b16 100644 --- a/src/libsystemd/sd-bus/bus-type.h +++ b/src/libsystemd/sd-bus/bus-type.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <stdbool.h> #include "macro.h" diff --git a/src/libsystemd/sd-device/device-enumerator-private.h b/src/libsystemd/sd-device/device-enumerator-private.h index 5d58ac93ca..56a953d33b 100644 --- a/src/libsystemd/sd-device/device-enumerator-private.h +++ b/src/libsystemd/sd-device/device-enumerator-private.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "sd-device.h" int device_enumerator_scan_devices(sd_device_enumerator *enumeartor); diff --git a/src/libsystemd/sd-device/device-internal.h b/src/libsystemd/sd-device/device-internal.h index 64da0501fe..f60d54af1b 100644 --- a/src/libsystemd/sd-device/device-internal.h +++ b/src/libsystemd/sd-device/device-internal.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "hashmap.h" #include "set.h" diff --git a/src/libsystemd/sd-device/device-private.h b/src/libsystemd/sd-device/device-private.h index 800c9ba7bd..22d7d8013e 100644 --- a/src/libsystemd/sd-device/device-private.h +++ b/src/libsystemd/sd-device/device-private.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <inttypes.h> #include <stdbool.h> #include <sys/types.h> diff --git a/src/libsystemd/sd-device/device-util.h b/src/libsystemd/sd-device/device-util.h index 6dcd2645e6..42461c1991 100644 --- a/src/libsystemd/sd-device/device-util.h +++ b/src/libsystemd/sd-device/device-util.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "util.h" #define FOREACH_DEVICE_PROPERTY(device, key, value) \ diff --git a/src/libsystemd/sd-hwdb/hwdb-internal.h b/src/libsystemd/sd-hwdb/hwdb-internal.h index 1fc6d31aed..d186c85184 100644 --- a/src/libsystemd/sd-hwdb/hwdb-internal.h +++ b/src/libsystemd/sd-hwdb/hwdb-internal.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "sparse-endian.h" #include "util.h" diff --git a/src/libsystemd/sd-hwdb/hwdb-util.h b/src/libsystemd/sd-hwdb/hwdb-util.h index 2998249199..43ddccdbe9 100644 --- a/src/libsystemd/sd-hwdb/hwdb-util.h +++ b/src/libsystemd/sd-hwdb/hwdb-util.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "sd-hwdb.h" #include "util.h" diff --git a/src/libsystemd/sd-id128/id128-util.h b/src/libsystemd/sd-id128/id128-util.h index ffd6d61f08..44f159c0b6 100644 --- a/src/libsystemd/sd-id128/id128-util.h +++ b/src/libsystemd/sd-id128/id128-util.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <stdbool.h> #include "sd-id128.h" diff --git a/src/libsystemd/sd-netlink/local-addresses.h b/src/libsystemd/sd-netlink/local-addresses.h index 628f00871d..e88c5e5d21 100644 --- a/src/libsystemd/sd-netlink/local-addresses.h +++ b/src/libsystemd/sd-netlink/local-addresses.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "sd-netlink.h" #include "in-addr-util.h" diff --git a/src/libsystemd/sd-netlink/netlink-internal.h b/src/libsystemd/sd-netlink/netlink-internal.h index dd4fa9d2af..661323e05f 100644 --- a/src/libsystemd/sd-netlink/netlink-internal.h +++ b/src/libsystemd/sd-netlink/netlink-internal.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <linux/netlink.h> #include "sd-netlink.h" diff --git a/src/libsystemd/sd-netlink/netlink-types.h b/src/libsystemd/sd-netlink/netlink-types.h index d411ffa6c2..e8443aacd6 100644 --- a/src/libsystemd/sd-netlink/netlink-types.h +++ b/src/libsystemd/sd-netlink/netlink-types.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "macro.h" enum { diff --git a/src/libsystemd/sd-netlink/netlink-util.h b/src/libsystemd/sd-netlink/netlink-util.h index 7c35a2cfa7..b326ceecaf 100644 --- a/src/libsystemd/sd-netlink/netlink-util.h +++ b/src/libsystemd/sd-netlink/netlink-util.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "sd-netlink.h" #include "util.h" diff --git a/src/libsystemd/sd-network/network-util.h b/src/libsystemd/sd-network/network-util.h index 62260d09dd..e868bc2e27 100644 --- a/src/libsystemd/sd-network/network-util.h +++ b/src/libsystemd/sd-network/network-util.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "sd-network.h" bool network_is_online(void); diff --git a/src/libudev/libudev-device-internal.h b/src/libudev/libudev-device-internal.h index 7a78deff79..45763f2c99 100644 --- a/src/libudev/libudev-device-internal.h +++ b/src/libudev/libudev-device-internal.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "libudev.h" #include "sd-device.h" diff --git a/src/libudev/libudev-private.h b/src/libudev/libudev-private.h index 384be98e79..749c78da49 100644 --- a/src/libudev/libudev-private.h +++ b/src/libudev/libudev-private.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <signal.h> #include <stdbool.h> #include <stdint.h> diff --git a/src/login/logind-session-device.h b/src/login/logind-session-device.h index f42c0218c0..91ce2fd546 100644 --- a/src/login/logind-session-device.h +++ b/src/login/logind-session-device.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - typedef enum DeviceType DeviceType; typedef struct SessionDevice SessionDevice; diff --git a/src/network/netdev/bond.h b/src/network/netdev/bond.h index fd68a18985..be03d72087 100644 --- a/src/network/netdev/bond.h +++ b/src/network/netdev/bond.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "in-addr-util.h" #include "list.h" diff --git a/src/network/netdev/bridge.h b/src/network/netdev/bridge.h index 4854e46953..3edc93a767 100644 --- a/src/network/netdev/bridge.h +++ b/src/network/netdev/bridge.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "netdev/netdev.h" typedef struct Bridge { diff --git a/src/network/netdev/dummy.h b/src/network/netdev/dummy.h index f4679a640d..93e0651f7d 100644 --- a/src/network/netdev/dummy.h +++ b/src/network/netdev/dummy.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "netdev/netdev.h" typedef struct Dummy { diff --git a/src/network/netdev/geneve.h b/src/network/netdev/geneve.h index dab9a4a553..2b38a92e4b 100644 --- a/src/network/netdev/geneve.h +++ b/src/network/netdev/geneve.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - typedef struct Geneve Geneve; #include "in-addr-util.h" diff --git a/src/network/netdev/ipvlan.h b/src/network/netdev/ipvlan.h index 8b698ebd1a..f181132720 100644 --- a/src/network/netdev/ipvlan.h +++ b/src/network/netdev/ipvlan.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <linux/if_link.h> #include "missing.h" diff --git a/src/network/netdev/macvlan.h b/src/network/netdev/macvlan.h index dcc0a3fd35..6b1587d86f 100644 --- a/src/network/netdev/macvlan.h +++ b/src/network/netdev/macvlan.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - typedef struct MacVlan MacVlan; #include "netdev/netdev.h" diff --git a/src/network/netdev/netdev.h b/src/network/netdev/netdev.h index 8df26c0ac3..bdab18043b 100644 --- a/src/network/netdev/netdev.h +++ b/src/network/netdev/netdev.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "sd-netlink.h" #include "list.h" diff --git a/src/network/netdev/netdevsim.h b/src/network/netdev/netdevsim.h index 7287360f15..d3ed0c0d4f 100644 --- a/src/network/netdev/netdevsim.h +++ b/src/network/netdev/netdevsim.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - typedef struct NetDevSim NetDevSim; #include "netdev/netdev.h" diff --git a/src/network/netdev/tunnel.h b/src/network/netdev/tunnel.h index b54b58ddee..029d845378 100644 --- a/src/network/netdev/tunnel.h +++ b/src/network/netdev/tunnel.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "in-addr-util.h" #include "netdev/netdev.h" diff --git a/src/network/netdev/tuntap.h b/src/network/netdev/tuntap.h index 6e8c66a000..9d9f9922b5 100644 --- a/src/network/netdev/tuntap.h +++ b/src/network/netdev/tuntap.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - typedef struct TunTap TunTap; #include "netdev/netdev.h" diff --git a/src/network/netdev/vcan.h b/src/network/netdev/vcan.h index d2540645c8..6f62686d08 100644 --- a/src/network/netdev/vcan.h +++ b/src/network/netdev/vcan.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - typedef struct VCan VCan; #include <linux/can/netlink.h> diff --git a/src/network/netdev/veth.h b/src/network/netdev/veth.h index 29cddab573..0bb9947bbd 100644 --- a/src/network/netdev/veth.h +++ b/src/network/netdev/veth.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - typedef struct Veth Veth; #include "netdev/netdev.h" diff --git a/src/network/netdev/vlan.h b/src/network/netdev/vlan.h index f3629f903b..b815e03dc5 100644 --- a/src/network/netdev/vlan.h +++ b/src/network/netdev/vlan.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - typedef struct VLan VLan; #include "netdev/netdev.h" diff --git a/src/network/netdev/vxcan.h b/src/network/netdev/vxcan.h index 84a39ee3cb..417672c474 100644 --- a/src/network/netdev/vxcan.h +++ b/src/network/netdev/vxcan.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - typedef struct VxCan VxCan; #if HAVE_VXCAN_INFO_PEER diff --git a/src/network/netdev/vxlan.h b/src/network/netdev/vxlan.h index e5eb20f187..bb5c4b9c51 100644 --- a/src/network/netdev/vxlan.h +++ b/src/network/netdev/vxlan.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - typedef struct VxLan VxLan; #include "in-addr-util.h" diff --git a/src/network/netdev/wireguard.h b/src/network/netdev/wireguard.h index 95b48d7635..80a5bf87a0 100644 --- a/src/network/netdev/wireguard.h +++ b/src/network/netdev/wireguard.h @@ -1,6 +1,5 @@ #pragma once - typedef struct Wireguard Wireguard; #include "netdev.h" diff --git a/src/network/networkd-address-label.h b/src/network/networkd-address-label.h index 77687edcba..70b8de7b2a 100644 --- a/src/network/networkd-address-label.h +++ b/src/network/networkd-address-label.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <inttypes.h> #include <stdbool.h> diff --git a/src/network/networkd-address.h b/src/network/networkd-address.h index 63e8f5d1ec..cd80741cb0 100644 --- a/src/network/networkd-address.h +++ b/src/network/networkd-address.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <inttypes.h> #include <stdbool.h> diff --git a/src/network/networkd-ipv6-proxy-ndp.h b/src/network/networkd-ipv6-proxy-ndp.h index 928630c2d8..546e8561f1 100644 --- a/src/network/networkd-ipv6-proxy-ndp.h +++ b/src/network/networkd-ipv6-proxy-ndp.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "conf-parser.h" #include "list.h" #include "macro.h" diff --git a/src/network/networkd-link.h b/src/network/networkd-link.h index 7e22dfd504..d3028bae50 100644 --- a/src/network/networkd-link.h +++ b/src/network/networkd-link.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <endian.h> #include "sd-bus.h" diff --git a/src/network/networkd-manager.h b/src/network/networkd-manager.h index fbb7f5413a..9c16359d51 100644 --- a/src/network/networkd-manager.h +++ b/src/network/networkd-manager.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <arpa/inet.h> #include "sd-bus.h" diff --git a/src/network/networkd-ndisc.h b/src/network/networkd-ndisc.h index 351fc695c6..762f42d43e 100644 --- a/src/network/networkd-ndisc.h +++ b/src/network/networkd-ndisc.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "networkd-link.h" typedef struct NDiscRDNSS { diff --git a/src/network/networkd-network.h b/src/network/networkd-network.h index 2d46d393ac..0cd1c75f14 100644 --- a/src/network/networkd-network.h +++ b/src/network/networkd-network.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "sd-bus.h" #include "udev.h" diff --git a/src/network/networkd-route.h b/src/network/networkd-route.h index 75da0e3a71..7283f48304 100644 --- a/src/network/networkd-route.h +++ b/src/network/networkd-route.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "conf-parser.h" typedef struct Route Route; diff --git a/src/network/networkd-routing-policy-rule.h b/src/network/networkd-routing-policy-rule.h index f4a0d5138f..7843a54db4 100644 --- a/src/network/networkd-routing-policy-rule.h +++ b/src/network/networkd-routing-policy-rule.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <inttypes.h> #include <stdbool.h> diff --git a/src/network/networkd-util.h b/src/network/networkd-util.h index 0fb41caaf6..435fdb7ca8 100644 --- a/src/network/networkd-util.h +++ b/src/network/networkd-util.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "conf-parser.h" #include "macro.h" diff --git a/src/network/wait-online/link.h b/src/network/wait-online/link.h index f1096c99d9..57e8f12e03 100644 --- a/src/network/wait-online/link.h +++ b/src/network/wait-online/link.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "sd-netlink.h" typedef struct Link Link; diff --git a/src/network/wait-online/manager.h b/src/network/wait-online/manager.h index 21f0381dda..0fde272ddb 100644 --- a/src/network/wait-online/manager.h +++ b/src/network/wait-online/manager.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "sd-event.h" #include "sd-netlink.h" #include "sd-network.h" diff --git a/src/network/wait-online/wait-online.c b/src/network/wait-online/wait-online.c index a96b2c8fe5..c67ff95c76 100644 --- a/src/network/wait-online/wait-online.c +++ b/src/network/wait-online/wait-online.c @@ -1,6 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ - #include <getopt.h> #include "sd-daemon.h" diff --git a/src/resolve/resolved-conf.h b/src/resolve/resolved-conf.h index 0a0a110534..f6efa175fc 100644 --- a/src/resolve/resolved-conf.h +++ b/src/resolve/resolved-conf.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "conf-parser.h" typedef enum DnsStubListenerMode DnsStubListenerMode; diff --git a/src/resolve/resolved-dns-packet.h b/src/resolve/resolved-dns-packet.h index bddeb58f10..d616c32993 100644 --- a/src/resolve/resolved-dns-packet.h +++ b/src/resolve/resolved-dns-packet.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <netinet/ip.h> #include <netinet/udp.h> diff --git a/src/resolve/resolved-dns-rr.h b/src/resolve/resolved-dns-rr.h index fa4dedb359..83acf3b880 100644 --- a/src/resolve/resolved-dns-rr.h +++ b/src/resolve/resolved-dns-rr.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <netinet/in.h> #include "bitmap.h" diff --git a/src/resolve/resolved-dnssd-bus.h b/src/resolve/resolved-dnssd-bus.h index 403cb00a53..9ee2ce17ec 100644 --- a/src/resolve/resolved-dnssd-bus.h +++ b/src/resolve/resolved-dnssd-bus.h @@ -1,6 +1,5 @@ #pragma once - #include "sd-bus.h" extern const sd_bus_vtable dnssd_vtable[]; diff --git a/src/resolve/resolved-dnssd.h b/src/resolve/resolved-dnssd.h index f49cfe2515..f2e101452d 100644 --- a/src/resolve/resolved-dnssd.h +++ b/src/resolve/resolved-dnssd.h @@ -1,6 +1,5 @@ #pragma once - #include "list.h" typedef struct DnssdService DnssdService; diff --git a/src/resolve/resolved-manager.h b/src/resolve/resolved-manager.h index d94b2888ab..6bbb15dbfb 100644 --- a/src/resolve/resolved-manager.h +++ b/src/resolve/resolved-manager.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "sd-event.h" #include "sd-netlink.h" #include "sd-network.h" diff --git a/src/resolve/resolved-mdns.h b/src/resolve/resolved-mdns.h index d2bce6fcd9..2f69478681 100644 --- a/src/resolve/resolved-mdns.h +++ b/src/resolve/resolved-mdns.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "resolved-manager.h" #define MDNS_PORT 5353 diff --git a/src/resolve/resolved-resolv-conf.h b/src/resolve/resolved-resolv-conf.h index e60beb40b7..f69cf2a441 100644 --- a/src/resolve/resolved-resolv-conf.h +++ b/src/resolve/resolved-resolv-conf.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "resolved-manager.h" int manager_check_resolv_conf(const Manager *m); diff --git a/src/shared/acpi-fpdt.h b/src/shared/acpi-fpdt.h index 47bfefc5a0..8d288937ef 100644 --- a/src/shared/acpi-fpdt.h +++ b/src/shared/acpi-fpdt.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <time-util.h> int acpi_get_boot_usec(usec_t *loader_start, usec_t *loader_exit); diff --git a/src/shared/base-filesystem.h b/src/shared/base-filesystem.h index d1d4eaa662..39d970811d 100644 --- a/src/shared/base-filesystem.h +++ b/src/shared/base-filesystem.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <sys/types.h> int base_filesystem_create(const char *root, uid_t uid, gid_t gid); diff --git a/src/shared/boot-timestamps.h b/src/shared/boot-timestamps.h index c719dd3602..4e648f18e2 100644 --- a/src/shared/boot-timestamps.h +++ b/src/shared/boot-timestamps.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <time-util.h> int boot_timestamps(const dual_timestamp *n, dual_timestamp *firmware, dual_timestamp *loader); diff --git a/src/shared/dns-domain.h b/src/shared/dns-domain.h index dc55dd8a48..1e9b57059b 100644 --- a/src/shared/dns-domain.h +++ b/src/shared/dns-domain.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <errno.h> #include <stdbool.h> #include <stddef.h> diff --git a/src/shared/switch-root.h b/src/shared/switch-root.h index 6bfaa3a6eb..f4d48cb431 100644 --- a/src/shared/switch-root.h +++ b/src/shared/switch-root.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <stdbool.h> int switch_root(const char *new_root, const char *oldroot, bool detach_oldroot, unsigned long mountflags); diff --git a/src/shared/tomoyo-util.h b/src/shared/tomoyo-util.h index 03e6975469..06e8227857 100644 --- a/src/shared/tomoyo-util.h +++ b/src/shared/tomoyo-util.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <stdbool.h> bool mac_tomoyo_use(void); diff --git a/src/timesync/timesyncd-conf.h b/src/timesync/timesyncd-conf.h index ebdb143f0b..bbe27cf2ac 100644 --- a/src/timesync/timesyncd-conf.h +++ b/src/timesync/timesyncd-conf.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "conf-parser.h" #include "timesyncd-manager.h" diff --git a/src/timesync/timesyncd-manager.h b/src/timesync/timesyncd-manager.h index 18347416d1..49d7205b09 100644 --- a/src/timesync/timesyncd-manager.h +++ b/src/timesync/timesyncd-manager.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <sys/timex.h> #include "sd-bus.h" diff --git a/src/timesync/timesyncd-server.h b/src/timesync/timesyncd-server.h index 8972706f20..d30bd2a3ce 100644 --- a/src/timesync/timesyncd-server.h +++ b/src/timesync/timesyncd-server.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "list.h" #include "socket-util.h" diff --git a/src/udev/net/ethtool-util.h b/src/udev/net/ethtool-util.h index 064bf4d2bd..d57a7565df 100644 --- a/src/udev/net/ethtool-util.h +++ b/src/udev/net/ethtool-util.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include <macro.h> #include <linux/ethtool.h> diff --git a/src/udev/net/link-config.h b/src/udev/net/link-config.h index 4798bb101c..713513edad 100644 --- a/src/udev/net/link-config.h +++ b/src/udev/net/link-config.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once - #include "libudev.h" #include "condition.h" |