diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-08-13 13:27:32 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-08-13 13:27:32 -0400 |
commit | f45cde05f934ee95e0002ff7d72f7006ce156a4c (patch) | |
tree | b8c98e0b3867ccea1f9d7a8976ee76b27d3984e6 /src/common/util.h | |
parent | 37d19fdfcd4bc82da3276c18b616e7c64ca0c6ab (diff) | |
download | tor-f45cde05f934ee95e0002ff7d72f7006ce156a4c.tar.gz tor-f45cde05f934ee95e0002ff7d72f7006ce156a4c.zip |
Remove tor_malloc_roundup().
This function never actually did us any good, and it added a little
complexity. See the changes file for more info.
Diffstat (limited to 'src/common/util.h')
-rw-r--r-- | src/common/util.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/common/util.h b/src/common/util.h index 4ab93164dc..c059730db6 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -76,7 +76,6 @@ /* Memory management */ void *_tor_malloc(size_t size DMALLOC_PARAMS) ATTR_MALLOC; void *_tor_malloc_zero(size_t size DMALLOC_PARAMS) ATTR_MALLOC; -void *_tor_malloc_roundup(size_t *size DMALLOC_PARAMS) ATTR_MALLOC; void *_tor_calloc(size_t nmemb, size_t size DMALLOC_PARAMS) ATTR_MALLOC; void *_tor_realloc(void *ptr, size_t size DMALLOC_PARAMS); char *_tor_strdup(const char *s DMALLOC_PARAMS) ATTR_MALLOC ATTR_NONNULL((1)); |