summaryrefslogtreecommitdiffstats
path: root/ethernet_interface.cpp
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-07-09 12:30:59 -0700
committerPatrick Venture <venture@google.com>2018-08-27 17:52:43 +0000
commit189d44eddd93d1a2eb9e69d479b2f66b7d41f59c (patch)
treebb0940203bc418d8071cc978d035678c2138dcbe /ethernet_interface.cpp
parentad21fc2a868122aee973ed5d4f1c652ec2749533 (diff)
downloadphosphor-networkd-189d44eddd93d1a2eb9e69d479b2f66b7d41f59c.tar.gz
phosphor-networkd-189d44eddd93d1a2eb9e69d479b2f66b7d41f59c.zip
reorder headers
Reordering all the headers to the following structure: header file: local c cpp (including openbmc libraries) source file: source.hpp (if applicable) local c cpp Change-Id: Ia74a5c761a3029819366159de3cfd40c5e4c4a2c Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'ethernet_interface.cpp')
-rw-r--r--ethernet_interface.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/ethernet_interface.cpp b/ethernet_interface.cpp
index b70db40..af8efc9 100644
--- a/ethernet_interface.cpp
+++ b/ethernet_interface.cpp
@@ -1,14 +1,11 @@
+#include "ethernet_interface.hpp"
+
#include "config.h"
#include "config_parser.hpp"
-#include "ethernet_interface.hpp"
#include "ipaddress.hpp"
#include "network_manager.hpp"
#include "routing_table.hpp"
#include "vlan_interface.hpp"
-#include "xyz/openbmc_project/Common/error.hpp"
-
-#include <phosphor-logging/elog-errors.hpp>
-#include <phosphor-logging/log.hpp>
#include <arpa/inet.h>
#include <linux/ethtool.h>
@@ -19,12 +16,14 @@
#include <sys/socket.h>
#include <unistd.h>
-
#include <algorithm>
#include <experimental/filesystem>
#include <fstream>
+#include <phosphor-logging/elog-errors.hpp>
+#include <phosphor-logging/log.hpp>
#include <sstream>
#include <string>
+#include <xyz/openbmc_project/Common/error.hpp>
namespace phosphor
{
OpenPOWER on IntegriCloud