tree-wide: sort includes
Sort the includes accoding to the new coding style.
This commit is contained in:
@@ -36,7 +36,6 @@
|
||||
#include "lldp.h"
|
||||
#include "local-addresses.h"
|
||||
#include "locale-util.h"
|
||||
#include "locale-util.h"
|
||||
#include "netlink-util.h"
|
||||
#include "pager.h"
|
||||
#include "parse-util.h"
|
||||
|
||||
@@ -19,8 +19,8 @@
|
||||
along with systemd; If not, see <http://www.gnu.org/licenses/>.
|
||||
***/
|
||||
|
||||
#include <net/if.h>
|
||||
#include <net/ethernet.h>
|
||||
#include <net/if.h>
|
||||
|
||||
#include "alloc-util.h"
|
||||
#include "conf-parser.h"
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
#include <netinet/ether.h>
|
||||
#include <linux/if.h>
|
||||
|
||||
#include "networkd-link.h"
|
||||
#include "network-internal.h"
|
||||
#include "networkd-link.h"
|
||||
|
||||
static int ipv4ll_address_lost(Link *link) {
|
||||
_cleanup_address_free_ Address *address = NULL;
|
||||
|
||||
@@ -19,13 +19,12 @@
|
||||
along with systemd; If not, see <http://www.gnu.org/licenses/>.
|
||||
***/
|
||||
|
||||
#include "bus-util.h"
|
||||
#include "strv.h"
|
||||
|
||||
#include "alloc-util.h"
|
||||
#include "bus-util.h"
|
||||
#include "networkd-link.h"
|
||||
#include "networkd.h"
|
||||
#include "parse-util.h"
|
||||
#include "strv.h"
|
||||
|
||||
static BUS_DEFINE_PROPERTY_GET_ENUM(property_get_operational_state, link_operstate, LinkOperationalState);
|
||||
static BUS_DEFINE_PROPERTY_GET_ENUM(property_get_administrative_state, link_state, LinkState);
|
||||
|
||||
@@ -29,8 +29,8 @@
|
||||
#include "conf-parser.h"
|
||||
#include "missing.h"
|
||||
#include "networkd-netdev-bond.h"
|
||||
#include "string-util.h"
|
||||
#include "string-table.h"
|
||||
#include "string-util.h"
|
||||
|
||||
/*
|
||||
* Number of seconds between instances where the bonding
|
||||
|
||||
@@ -22,9 +22,9 @@
|
||||
|
||||
#include <net/if.h>
|
||||
|
||||
#include "networkd-netdev-bridge.h"
|
||||
#include "missing.h"
|
||||
#include "netlink-util.h"
|
||||
#include "networkd-netdev-bridge.h"
|
||||
|
||||
/* callback for brige netdev's parameter set */
|
||||
static int netdev_bridge_set_handler(sd_netlink *rtnl, sd_netlink_message *m, void *userdata) {
|
||||
|
||||
@@ -19,8 +19,8 @@
|
||||
along with systemd; If not, see <http://www.gnu.org/licenses/>.
|
||||
***/
|
||||
|
||||
#include <sys/ioctl.h>
|
||||
#include <net/if.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <linux/if_tun.h>
|
||||
|
||||
#include "alloc-util.h"
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#include <linux/veth.h>
|
||||
|
||||
#include "sd-netlink.h"
|
||||
|
||||
#include "networkd-netdev-veth.h"
|
||||
|
||||
static int netdev_veth_fill_message_create(NetDev *netdev, Link *link, sd_netlink_message *m) {
|
||||
|
||||
@@ -22,10 +22,11 @@
|
||||
#include <net/if.h>
|
||||
|
||||
#include "sd-netlink.h"
|
||||
#include "networkd-netdev-vxlan.h"
|
||||
#include "networkd-link.h"
|
||||
|
||||
#include "conf-parser.h"
|
||||
#include "missing.h"
|
||||
#include "networkd-link.h"
|
||||
#include "networkd-netdev-vxlan.h"
|
||||
|
||||
static int netdev_vxlan_fill_message_create(NetDev *netdev, Link *link, sd_netlink_message *m) {
|
||||
VxLan *v;
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
#include "networkd.h"
|
||||
#include "networkd-netdev-bond.h"
|
||||
#include "networkd-netdev-macvlan.h"
|
||||
#include "dhcp6-internal.h"
|
||||
#include "dhcp6-protocol.h"
|
||||
#include "netlink-internal.h"
|
||||
#include "ethtool-util.h"
|
||||
|
||||
#include "netlink-internal.h"
|
||||
#include "networkd-netdev-bond.h"
|
||||
#include "networkd-netdev-macvlan.h"
|
||||
#include "networkd.h"
|
||||
#include "test-tables.h"
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
|
||||
@@ -20,9 +20,9 @@
|
||||
***/
|
||||
|
||||
#include "alloc-util.h"
|
||||
#include "networkd.h"
|
||||
#include "network-internal.h"
|
||||
#include "dhcp-lease-internal.h"
|
||||
#include "network-internal.h"
|
||||
#include "networkd.h"
|
||||
|
||||
static void test_deserialize_in_addr(void) {
|
||||
_cleanup_free_ struct in_addr *addresses = NULL;
|
||||
|
||||
Reference in New Issue
Block a user