summaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--lib/stream.c8
-rw-r--r--lib/stream.h5
2 files changed, 0 insertions, 13 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);
diff --git a/lib/stream.h b/lib/stream.h
index a903ec0ea..1144e43ef 100644
--- a/lib/stream.h
+++ b/lib/stream.h
@@ -153,11 +153,6 @@ extern void stream_free(struct stream *);
extern struct stream *stream_copy(struct stream *, struct stream *src);
extern struct stream *stream_dup(struct stream *);
-#if CONFDATE > 20190821
-CPP_NOTICE("lib: time to remove stream_resize_orig")
-#endif
-extern size_t stream_resize_orig(struct stream *s, size_t newsize);
-#define stream_resize stream_resize_orig
extern size_t stream_resize_inplace(struct stream **sptr, size_t newsize);
extern size_t stream_get_getp(struct stream *);