summaryrefslogtreecommitdiff
path: root/bgpd/bgp_aspath.c
diff options
context:
space:
mode:
authorPaul Jakma <paul@quagga.net>2011-04-08 12:44:43 +0100
committerPaul Jakma <paul@quagga.net>2012-01-06 16:18:18 +0000
commitf63f06da2e7be6b17c72dd6110aae179f42f3700 (patch)
treea36b625a9ea06d0720a240276ed1b8af33193ed7 /bgpd/bgp_aspath.c
parent651e70d7f419ee7af75113f80e688c0100e9cff5 (diff)
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 'bgpd/bgp_aspath.c')
-rw-r--r--bgpd/bgp_aspath.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bgpd/bgp_aspath.c b/bgpd/bgp_aspath.c
index ba4f5b48..776c7127 100644
--- a/bgpd/bgp_aspath.c
+++ b/bgpd/bgp_aspath.c
@@ -91,13 +91,13 @@ static struct hash *ashash;
/* Stream for SNMP. See aspath_snmp_pathseg */
static struct stream *snmp_stream;
-static inline as_t *
+static as_t *
assegment_data_new (int num)
{
return (XCALLOC (MTYPE_AS_SEG_DATA, ASSEGMENT_DATA_SIZE (num, 1)));
}
-static inline void
+static void
assegment_data_free (as_t *asdata)
{
XFREE (MTYPE_AS_SEG_DATA,asdata);
@@ -812,7 +812,7 @@ aspath_parse (struct stream *s, size_t length, int use32bit)
return find;
}
-static inline void
+static void
assegment_data_put (struct stream *s, as_t *as, int num, int use32bit)
{
int i;
@@ -830,7 +830,7 @@ assegment_data_put (struct stream *s, as_t *as, int num, int use32bit)
}
}
-static inline size_t
+static size_t
assegment_header_put (struct stream *s, u_char type, int length)
{
size_t lenp;