summaryrefslogtreecommitdiff
path: root/src/or/buffers.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-12-17 17:20:42 +0000
committerNick Mathewson <nickm@torproject.org>2008-12-17 17:20:42 +0000
commitf43bcdc063b486516187715bb0205e3c154497db (patch)
tree8157de32e728e85a663bd0e46ed06920c6488b38 /src/or/buffers.c
parentfc5e686b197b350b0e5eab7e7f355a226125d834 (diff)
downloadtor-f43bcdc063b486516187715bb0205e3c154497db.tar.gz
tor-f43bcdc063b486516187715bb0205e3c154497db.zip
Use ctags and a python script to find identifiers that are never used anywhere, and remove the ones that we really want gone.
svn:r17651
Diffstat (limited to 'src/or/buffers.c')
-rw-r--r--src/or/buffers.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c
index cb36a523e2..ecbbdc1f03 100644
--- a/src/or/buffers.c
+++ b/src/or/buffers.c
@@ -219,10 +219,6 @@ chunk_new_with_alloc_size(size_t alloc)
}
#endif
-/** Allocate a new chunk with memory size of <b>sz</b>. */
-#define chunk_new_with_capacity(sz) \
- (chunk_new_with_alloc_size(CHUNK_ALLOC_SIZE(sz)))
-
/** Expand <b>chunk</b> until it can hold <b>sz</b> bytes, and return a
* new pointer to <b>chunk</b>. Old pointers are no longer valid. */
static INLINE chunk_t *