diff options
| author | Mark Stapp <mjs@voltanet.io> | 2019-08-22 08:52:25 -0400 | 
|---|---|---|
| committer | Mark Stapp <mjs@voltanet.io> | 2019-08-22 08:52:25 -0400 | 
| commit | 13afe82b5ba24a92f1264f55a1e9aca54998cc6d (patch) | |
| tree | f0b377aef6fabb5003e2d1697ef57bdb00a71861 /lib | |
| parent | ad4c7e8d4e24b0a92808dbe5aed5cc87c78db2c0 (diff) | |
lib: remove deprecated stream_resize api
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/stream.c | 8 | ||||
| -rw-r--r-- | lib/stream.h | 5 | 
2 files changed, 0 insertions, 13 deletions
diff --git a/lib/stream.c b/lib/stream.c index c67bc3c993..dfd13ca186 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 a903ec0ea5..1144e43ef0 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 *);  | 
