diff options
author | Paul Jakma <paul@quagga.net> | 2011-04-08 13:44:43 +0200 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2012-01-06 17:18:18 +0100 |
commit | f63f06da2e7be6b17c72dd6110aae179f42f3700 (patch) | |
tree | a36b625a9ea06d0720a240276ed1b8af33193ed7 /bgpd/bgp_aspath.c | |
parent | doc: update BGP RFC references (diff) | |
download | frr-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 'bgpd/bgp_aspath.c')
-rw-r--r-- | bgpd/bgp_aspath.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bgpd/bgp_aspath.c b/bgpd/bgp_aspath.c index ba4f5b48b..776c7127e 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; |