summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_packet.c
diff options
context:
space:
mode:
authorPaul Jakma <paul@quagga.net>2011-04-08 13:44:43 +0200
committerPaul Jakma <paul@quagga.net>2012-01-06 17:18:18 +0100
commitf63f06da2e7be6b17c72dd6110aae179f42f3700 (patch)
treea36b625a9ea06d0720a240276ed1b8af33193ed7 /ospfd/ospf_packet.c
parentdoc: update BGP RFC references (diff)
downloadfrr-f63f06da2e7be6b17c72dd6110aae179f42f3700.tar.xz
frr-f63f06da2e7be6b17c72dd6110aae179f42f3700.zip
general: remove inline qualifiers and move in-header functions to objects
* (general) Move functions in headers into files, to be compiled into shared object files. Remove inline qualifier from functions. Let the compiler do the work.
Diffstat (limited to 'ospfd/ospf_packet.c')
-rw-r--r--ospfd/ospf_packet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c
index 070508240..b714c27de 100644
--- a/ospfd/ospf_packet.c
+++ b/ospfd/ospf_packet.c
@@ -266,7 +266,7 @@ ospf_packet_dup (struct ospf_packet *op)
}
/* XXX inline */
-static inline unsigned int
+static unsigned int
ospf_packet_authspace (struct ospf_interface *oi)
{
int auth = 0;
@@ -2213,7 +2213,7 @@ ospf_associate_packet_vl (struct ospf *ospf, struct interface *ifp,
return NULL;
}
-static inline int
+static int
ospf_check_area_id (struct ospf_interface *oi, struct ospf_header *ospfh)
{
/* Check match the Area ID of the receiving interface. */