diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-09-09 14:11:10 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-09-09 14:11:10 -0400 |
| commit | 5381b930b38edbf6797ae058593546b718133cb1 (patch) | |
| tree | aeaabaa7a8231f096f91d07d9a488564761a9a82 /lib/stream.c | |
| parent | 55e6c1329f78d5c672a58ff1fad86d7711a649c3 (diff) | |
| parent | 7b34167d7dac6e898c49c675cfc80ae68c64bc98 (diff) | |
Merge pull request #2965 from opensourcerouting/buildfoo-20180904
more build fixes & warning-free build
Diffstat (limited to 'lib/stream.c')
| -rw-r--r-- | lib/stream.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/stream.c b/lib/stream.c index 55e7f64358..589a229256 100644 --- a/lib/stream.c +++ b/lib/stream.c @@ -270,7 +270,7 @@ void stream_forward_endp(struct stream *s, size_t size) } /* Copy from stream to destination. */ -inline bool stream_get2(void *dst, struct stream *s, size_t size) +bool stream_get2(void *dst, struct stream *s, size_t size) { STREAM_VERIFY_SANE(s); @@ -299,7 +299,7 @@ void stream_get(void *dst, struct stream *s, size_t size) } /* Get next character from the stream. */ -inline bool stream_getc2(struct stream *s, uint8_t *byte) +bool stream_getc2(struct stream *s, uint8_t *byte) { STREAM_VERIFY_SANE(s); @@ -344,7 +344,7 @@ uint8_t stream_getc_from(struct stream *s, size_t from) return c; } -inline bool stream_getw2(struct stream *s, uint16_t *word) +bool stream_getw2(struct stream *s, uint16_t *word) { STREAM_VERIFY_SANE(s); @@ -465,7 +465,7 @@ void stream_get_from(void *dst, struct stream *s, size_t from, size_t size) memcpy(dst, s->data + from, size); } -inline bool stream_getl2(struct stream *s, uint32_t *l) +bool stream_getl2(struct stream *s, uint32_t *l) { STREAM_VERIFY_SANE(s); |
