tree-wide: sort includes

Sort the includes accoding to the new coding style.
This commit is contained in:
Thomas Hindoe Paaboel Andersen
2015-11-16 22:09:36 +01:00
parent ab5dfda78f
commit cf0fbc49e6
205 changed files with 345 additions and 363 deletions
-1
View File
@@ -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"
+1 -1
View File
@@ -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"
+1 -1
View File
@@ -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;
+2 -3
View File
@@ -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);
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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) {
+1 -1
View File
@@ -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"
+1
View File
@@ -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) {
+3 -2
View File
@@ -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;
+4 -5
View File
@@ -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) {
+2 -2
View File
@@ -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;