summaryrefslogtreecommitdiffstats
path: root/lib/stream.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2019-08-22 14:52:25 +0200
committerMark Stapp <mjs@voltanet.io>2019-08-22 14:52:25 +0200
commit13afe82b5ba24a92f1264f55a1e9aca54998cc6d (patch)
treef0b377aef6fabb5003e2d1697ef57bdb00a71861 /lib/stream.c
parentMerge pull request #4778 from mjstapp/dplane_macs (diff)
downloadfrr-13afe82b5ba24a92f1264f55a1e9aca54998cc6d.tar.xz
frr-13afe82b5ba24a92f1264f55a1e9aca54998cc6d.zip
lib: remove deprecated stream_resize api
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'lib/stream.c')
-rw-r--r--lib/stream.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/stream.c b/lib/stream.c
index c67bc3c99..dfd13ca18 100644
--- a/lib/stream.c
+++ b/lib/stream.c
@@ -186,14 +186,6 @@ size_t stream_resize_inplace(struct stream **sptr, size_t newsize)
return orig->size;
}
-size_t __attribute__((deprecated))stream_resize_orig(struct stream *s,
- size_t newsize)
-{
- assert("stream_resize: Switch code to use stream_resize_inplace" == NULL);
-
- return stream_resize_inplace(&s, newsize);
-}
-
size_t stream_get_getp(struct stream *s)
{
STREAM_VERIFY_SANE(s);