diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-05-22 16:08:26 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-05-22 16:13:45 +0200 |
commit | 56b00d0028894c078fcbd617a5f2a589137bcf95 (patch) | |
tree | dc15b8966f719fe89d05e2318a6c67b82d8c6e33 | |
parent | find-double-newline: look in headers too (diff) | |
download | systemd-56b00d0028894c078fcbd617a5f2a589137bcf95.tar.xz systemd-56b00d0028894c078fcbd617a5f2a589137bcf95.zip |
tree-wide: remove some double newlines in headers, too
-rw-r--r-- | src/basic/mempool.h | 1 | ||||
-rw-r--r-- | src/basic/missing.h | 1 | ||||
-rw-r--r-- | src/basic/missing_syscall.h | 1 | ||||
-rw-r--r-- | src/basic/string-table.h | 1 | ||||
-rw-r--r-- | src/basic/strxcpyx.h | 1 | ||||
-rw-r--r-- | src/core/dbus-automount.h | 1 | ||||
-rw-r--r-- | src/libsystemd/sd-netlink/local-addresses.h | 1 | ||||
-rw-r--r-- | src/libudev/libudev.h | 1 | ||||
-rw-r--r-- | src/login/logind-inhibit.h | 1 | ||||
-rw-r--r-- | src/network/netdev/ipvlan.h | 1 | ||||
-rw-r--r-- | src/network/networkd-ipv6-proxy-ndp.h | 1 | ||||
-rw-r--r-- | src/resolve/resolved-dns-dnssec.h | 1 | ||||
-rw-r--r-- | src/resolve/resolved-dns-query.h | 1 | ||||
-rw-r--r-- | src/resolve/resolved-dns-rr.h | 1 | ||||
-rw-r--r-- | src/shared/gpt.h | 1 | ||||
-rw-r--r-- | src/shared/initreq.h | 1 |
16 files changed, 0 insertions, 16 deletions
diff --git a/src/basic/mempool.h b/src/basic/mempool.h index 68249cd881..ba0c0bd8f9 100644 --- a/src/basic/mempool.h +++ b/src/basic/mempool.h @@ -29,7 +29,6 @@ static struct mempool pool_name = { \ .at_least = alloc_at_least, \ } - #if VALGRIND void mempool_drop(struct mempool *mp); #endif diff --git a/src/basic/missing.h b/src/basic/missing.h index 9fe750ae28..e714078f31 100644 --- a/src/basic/missing.h +++ b/src/basic/missing.h @@ -329,7 +329,6 @@ struct btrfs_ioctl_search_header { __u32 len; }; - struct btrfs_ioctl_search_args { struct btrfs_ioctl_search_key key; char buf[BTRFS_SEARCH_ARGS_BUFSIZE]; diff --git a/src/basic/missing_syscall.h b/src/basic/missing_syscall.h index 42ada30d52..89ca1f062a 100644 --- a/src/basic/missing_syscall.h +++ b/src/basic/missing_syscall.h @@ -256,7 +256,6 @@ static inline int missing_kcmp(pid_t pid1, pid_t pid2, int type, unsigned long i # define kcmp missing_kcmp #endif - /* ======================================================================= */ #if !HAVE_KEYCTL diff --git a/src/basic/string-table.h b/src/basic/string-table.h index 92825c4d79..1786bcfda0 100644 --- a/src/basic/string-table.h +++ b/src/basic/string-table.h @@ -77,7 +77,6 @@ ssize_t string_table_lookup(const char * const *table, size_t len, const char *k return (type) -1; \ } \ - #define _DEFINE_STRING_TABLE_LOOKUP(name,type,scope) \ _DEFINE_STRING_TABLE_LOOKUP_TO_STRING(name,type,scope) \ _DEFINE_STRING_TABLE_LOOKUP_FROM_STRING(name,type,scope) diff --git a/src/basic/strxcpyx.h b/src/basic/strxcpyx.h index 99213e0f35..7f49f92ad8 100644 --- a/src/basic/strxcpyx.h +++ b/src/basic/strxcpyx.h @@ -7,7 +7,6 @@ Copyright 2013 Kay Sievers ***/ - #include <stddef.h> #include "macro.h" diff --git a/src/core/dbus-automount.h b/src/core/dbus-automount.h index 6ad89843cc..2d4079a7b4 100644 --- a/src/core/dbus-automount.h +++ b/src/core/dbus-automount.h @@ -7,7 +7,6 @@ Copyright 2010 Lennart Poettering ***/ - extern const sd_bus_vtable bus_automount_vtable[]; int bus_automount_set_property(Unit *u, const char *name, sd_bus_message *message, UnitWriteFlags flags, sd_bus_error *error); diff --git a/src/libsystemd/sd-netlink/local-addresses.h b/src/libsystemd/sd-netlink/local-addresses.h index 701d17b614..f1f4db78ab 100644 --- a/src/libsystemd/sd-netlink/local-addresses.h +++ b/src/libsystemd/sd-netlink/local-addresses.h @@ -7,7 +7,6 @@ Copyright 2008-2011 Lennart Poettering ***/ - #include "sd-netlink.h" #include "in-addr-util.h" diff --git a/src/libudev/libudev.h b/src/libudev/libudev.h index d5a8f390bc..1b787ccec9 100644 --- a/src/libudev/libudev.h +++ b/src/libudev/libudev.h @@ -187,7 +187,6 @@ struct udev_list_entry *udev_hwdb_get_properties_list_entry(struct udev_hwdb *hw */ int udev_util_encode_string(const char *str, char *str_enc, size_t len); - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/login/logind-inhibit.h b/src/login/logind-inhibit.h index 32626118eb..712260a5a1 100644 --- a/src/login/logind-inhibit.h +++ b/src/login/logind-inhibit.h @@ -9,7 +9,6 @@ typedef struct Inhibitor Inhibitor; - typedef enum InhibitWhat { INHIBIT_SHUTDOWN = 1, INHIBIT_SLEEP = 2, diff --git a/src/network/netdev/ipvlan.h b/src/network/netdev/ipvlan.h index 85c472100b..b1d32d10e9 100644 --- a/src/network/netdev/ipvlan.h +++ b/src/network/netdev/ipvlan.h @@ -12,7 +12,6 @@ #include "missing.h" #include "netdev/netdev.h" - typedef enum IPVlanMode { NETDEV_IPVLAN_MODE_L2 = IPVLAN_MODE_L2, NETDEV_IPVLAN_MODE_L3 = IPVLAN_MODE_L3, diff --git a/src/network/networkd-ipv6-proxy-ndp.h b/src/network/networkd-ipv6-proxy-ndp.h index 8e70df4372..80b37d74c6 100644 --- a/src/network/networkd-ipv6-proxy-ndp.h +++ b/src/network/networkd-ipv6-proxy-ndp.h @@ -21,7 +21,6 @@ struct IPv6ProxyNDPAddress { LIST_FIELDS(IPv6ProxyNDPAddress, ipv6_proxy_ndp_addresses); }; - int ipv6_proxy_ndp_address_new_static(Network *network, IPv6ProxyNDPAddress ** ipv6_proxy_ndp_address); void ipv6_proxy_ndp_address_free(IPv6ProxyNDPAddress *ipv6_proxy_ndp_address); int ipv6_proxy_ndp_address_configure(Link *link, IPv6ProxyNDPAddress *ipv6_proxy_ndp_address); diff --git a/src/resolve/resolved-dns-dnssec.h b/src/resolve/resolved-dns-dnssec.h index c5714d9e0a..f2201b5d39 100644 --- a/src/resolve/resolved-dns-dnssec.h +++ b/src/resolve/resolved-dns-dnssec.h @@ -80,7 +80,6 @@ typedef enum DnssecNsecResult { int dnssec_nsec_test(DnsAnswer *answer, DnsResourceKey *key, DnssecNsecResult *result, bool *authenticated, uint32_t *ttl); - int dnssec_test_positive_wildcard(DnsAnswer *a, const char *name, const char *source, const char *zone, bool *authenticated); const char* dnssec_result_to_string(DnssecResult m) _const_; diff --git a/src/resolve/resolved-dns-query.h b/src/resolve/resolved-dns-query.h index 12dc724b60..0ada5b012a 100644 --- a/src/resolve/resolved-dns-query.h +++ b/src/resolve/resolved-dns-query.h @@ -7,7 +7,6 @@ Copyright 2014 Lennart Poettering ***/ - #include "sd-bus.h" #include "set.h" diff --git a/src/resolve/resolved-dns-rr.h b/src/resolve/resolved-dns-rr.h index b7f011dbc6..d900d6744a 100644 --- a/src/resolve/resolved-dns-rr.h +++ b/src/resolve/resolved-dns-rr.h @@ -87,7 +87,6 @@ struct DnsResourceKey { ._name = (char*) n, \ }) - struct DnsTxtItem { size_t length; LIST_FIELDS(DnsTxtItem, items); diff --git a/src/shared/gpt.h b/src/shared/gpt.h index 70d77c160f..58e034e83c 100644 --- a/src/shared/gpt.h +++ b/src/shared/gpt.h @@ -33,7 +33,6 @@ #define GPT_ROOT_ARM_64_VERITY SD_ID128_MAKE(df,33,00,ce,d6,9f,4c,92,97,8c,9b,fb,0f,38,d8,20) #define GPT_ROOT_IA64_VERITY SD_ID128_MAKE(86,ed,10,d5,b6,07,45,bb,89,57,d3,50,f2,3d,05,71) - #if defined(__x86_64__) # define GPT_ROOT_NATIVE GPT_ROOT_X86_64 # define GPT_ROOT_SECONDARY GPT_ROOT_X86 diff --git a/src/shared/initreq.h b/src/shared/initreq.h index 710037d84b..9b19b5d729 100644 --- a/src/shared/initreq.h +++ b/src/shared/initreq.h @@ -55,7 +55,6 @@ struct init_request_bsd { char reserved[128]; /* For future expansion. */ }; - /* * Because of legacy interfaces, "runlevel" and "sleeptime" * aren't in a separate struct in the union. |