[ovs-dev,2/2] ovs-router: include ovs-router.h as first header
diff mbox

Message ID 1441388408-1273-2-git-send-email-cascardo@redhat.com
State Accepted
Headers show

Commit Message

Thadeu Lima de Souza Cascardo Sept. 4, 2015, 5:40 p.m. UTC
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@redhat.com>
---
 lib/ovs-router.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Ben Pfaff Sept. 17, 2015, 9:46 p.m. UTC | #1
On Fri, Sep 04, 2015 at 02:40:08PM -0300, Thadeu Lima de Souza Cascardo wrote:
> Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@redhat.com>
> ---
>  lib/ovs-router.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/lib/ovs-router.c b/lib/ovs-router.c
> index d4a5c35..7493c79 100644
> --- a/lib/ovs-router.c
> +++ b/lib/ovs-router.c
> @@ -14,6 +14,8 @@
>   * limitations under the License.
>   */
>  
> +#include "ovs-router.h"
> +
>  #include <config.h>

<config.h> still needs to be first so I adjusted that.

With that adjustment I applied this to master, thanks!

Patch
diff mbox

diff --git a/lib/ovs-router.c b/lib/ovs-router.c
index d4a5c35..7493c79 100644
--- a/lib/ovs-router.c
+++ b/lib/ovs-router.c
@@ -14,6 +14,8 @@ 
  * limitations under the License.
  */
 
+#include "ovs-router.h"
+
 #include <config.h>
 #include <arpa/inet.h>
 #include <errno.h>
@@ -34,7 +36,6 @@ 
 #include "netdev.h"
 #include "packets.h"
 #include "seq.h"
-#include "ovs-router.h"
 #include "ovs-thread.h"
 #include "route-table.h"
 #include "unixctl.h"