diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-08-02 13:40:19 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-08-02 13:50:00 -0400 |
commit | 46ef4487d3914cac1aba148ec58ff271bda3c636 (patch) | |
tree | 300a4fdfb5f8714ae970fe78c9bd9beeda6c378b /src/or/buffers.c | |
parent | cd9d39d54bbc9998938e9acddb1ec34507fc9108 (diff) | |
download | tor-46ef4487d3914cac1aba148ec58ff271bda3c636.tar.gz tor-46ef4487d3914cac1aba148ec58ff271bda3c636.zip |
Remove generic_buffer_*() functions as needless.
These functions were there so that we could abstract the differences
between evbuffer and buf_t. But with the bufferevent removal, this
no longer serves a purpose.
Diffstat (limited to 'src/or/buffers.c')
-rw-r--r-- | src/or/buffers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c index 0afa3e6363..85744504a0 100644 --- a/src/or/buffers.c +++ b/src/or/buffers.c @@ -1978,8 +1978,8 @@ write_to_buf_zlib(buf_t *buf, tor_zlib_state_t *state, /** Set *<b>output</b> to contain a copy of the data in *<b>input</b> */ int -buf_set_to_copy(generic_buffer_t **output, - const generic_buffer_t *input) +buf_set_to_copy(buf_t **output, + const buf_t *input) { if (*output) buf_free(*output); |