]> git.puffer.fish Git - matthieu/frr.git/commitdiff
ospf6d: Move header includes around to reflect reality
authorDonald Sharp <sharpd@nvidia.com>
Thu, 8 Oct 2020 14:38:45 +0000 (10:38 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Fri, 9 Oct 2020 00:44:23 +0000 (20:44 -0400)
ospf6_network.h needs ospf6_top.h to be included
first.

This makes newer versions of gcc much much happier.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
ospf6d/ospf6_interface.c
ospf6d/ospf6_message.c
ospf6d/ospf6_network.c
ospf6d/ospf6_network.h
ospf6d/ospf6d.c

index fabcc426eadedbb6221935fc2fe542a9fbc1f986..334f1bd2a5dd79c56c23053b6c1a059434ba3ce7 100644 (file)
 
 #include "ospf6_lsa.h"
 #include "ospf6_lsdb.h"
+#include "ospf6_top.h"
 #include "ospf6_network.h"
 #include "ospf6_message.h"
 #include "ospf6_route.h"
-#include "ospf6_top.h"
 #include "ospf6_area.h"
 #include "ospf6_interface.h"
 #include "ospf6_neighbor.h"
index eb8c414d9b015263efe82f6d5cc728217d293277..02daaf6c2c01324b7ad6d8c9c0e851be3401b623 100644 (file)
 #include "ospf6_proto.h"
 #include "ospf6_lsa.h"
 #include "ospf6_lsdb.h"
+#include "ospf6_top.h"
 #include "ospf6_network.h"
 #include "ospf6_message.h"
 
-#include "ospf6_top.h"
 #include "ospf6_area.h"
 #include "ospf6_neighbor.h"
 #include "ospf6_interface.h"
index abbb180d45642f7ec3c3df794c940574474f0ca9..6c83881bf44e623b8b3e43f288b5f4d8ed866c74 100644 (file)
@@ -30,9 +30,9 @@
 
 #include "libospf.h"
 #include "ospf6_proto.h"
+#include "ospf6_top.h"
 #include "ospf6_network.h"
 #include "ospf6d.h"
-#include "ospf6_top.h"
 
 struct in6_addr allspfrouters6;
 struct in6_addr alldrouters6;
index eeef0514f347aaa320519f0b4619a71a9e069d43..d11a611c4926fee1b06cb6b7c36d8b52d6289d55 100644 (file)
@@ -21,7 +21,6 @@
 #ifndef OSPF6_NETWORK_H
 #define OSPF6_NETWORK_H
 
-struct ospf6 *ospf6;
 extern struct in6_addr allspfrouters6;
 extern struct in6_addr alldrouters6;
 
index e90448239106b59b43024809c51d19b0d93a45fb..65607fc1315717de0af1896d41c8f3412a6b4b04 100644 (file)
@@ -27,6 +27,7 @@
 #include "plist.h"
 
 #include "ospf6_proto.h"
+#include "ospf6_top.h"
 #include "ospf6_network.h"
 #include "ospf6_lsa.h"
 #include "ospf6_lsdb.h"
@@ -34,7 +35,6 @@
 #include "ospf6_route.h"
 #include "ospf6_zebra.h"
 #include "ospf6_spf.h"
-#include "ospf6_top.h"
 #include "ospf6_area.h"
 #include "ospf6_interface.h"
 #include "ospf6_neighbor.h"