aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-08-13 13:27:32 -0400
committerNick Mathewson <nickm@torproject.org>2012-08-13 13:27:32 -0400
commitf45cde05f934ee95e0002ff7d72f7006ce156a4c (patch)
treeb8c98e0b3867ccea1f9d7a8976ee76b27d3984e6 /src/common/util.h
parent37d19fdfcd4bc82da3276c18b616e7c64ca0c6ab (diff)
downloadtor-f45cde05f934ee95e0002ff7d72f7006ce156a4c.tar
tor-f45cde05f934ee95e0002ff7d72f7006ce156a4c.tar.gz
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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/common/util.h b/src/common/util.h
index 4ab93164d..c059730db 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));