aboutsummaryrefslogtreecommitdiff
path: root/src/or/buffers.h
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2010-08-17 23:27:02 +0200
committerSebastian Hahn <sebastian@torproject.org>2010-08-17 23:49:39 +0200
commitd5c83f201441f2582dd074729d2ccdce90b1243e (patch)
tree7ba32ccadbfb2af6c79b6bf09b4f986ba614725a /src/or/buffers.h
parent5ffe105598135a92777d78cc82399fa281c52c5f (diff)
downloadtor-d5c83f201441f2582dd074729d2ccdce90b1243e.tar.gz
tor-d5c83f201441f2582dd074729d2ccdce90b1243e.zip
Remove unused function declarations
Also remove some #if 0'd code from the unit tests for buffers. The code was killed in e6794e58081af773073c266e23fe3ab2ebecdb7e (5 years ago), and is now broken anyways.
Diffstat (limited to 'src/or/buffers.h')
-rw-r--r--src/or/buffers.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/or/buffers.h b/src/or/buffers.h
index 42d92dd89b..8fd403d954 100644
--- a/src/or/buffers.h
+++ b/src/or/buffers.h
@@ -23,7 +23,6 @@ void buf_dump_freelist_sizes(int severity);
size_t buf_datalen(const buf_t *buf);
size_t buf_allocation(const buf_t *buf);
size_t buf_slack(const buf_t *buf);
-const char *_buf_peek_raw_buffer(const buf_t *buf);
int read_to_buf(int s, size_t at_most, buf_t *buf, int *reached_eof,
int *socket_error);