summaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-05-20 06:37:34 +0000
committerRoger Dingledine <arma@torproject.org>2003-05-20 06:37:34 +0000
commit59029a3eedf934407db17b29be77b89d9a12d77e (patch)
tree95917f219efda99a0ae34c462652ae6664ea312d /src/common/util.h
parentc94d42fa41cd4fdaa36ba5c99193de8639f52b12 (diff)
downloadtor-59029a3eedf934407db17b29be77b89d9a12d77e.tar.gz
tor-59029a3eedf934407db17b29be77b89d9a12d77e.zip
replace malloc with tor_malloc; remove broken/unused crypto_pk_set_key
svn:r292
Diffstat (limited to 'src/common/util.h')
-rw-r--r--src/common/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/util.h b/src/common/util.h
index bc880d24e2..6b238bf8c7 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -7,6 +7,8 @@
#include <sys/time.h>
+void *tor_malloc(size_t size);
+
/* Same as gettimeofday, but no need to check exit value. */
void my_gettimeofday(struct timeval *timeval);
/* Returns the number of microseconds between start and end. Requires that