aboutsummaryrefslogtreecommitdiff
path: root/src/test/test.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-02-11 18:34:29 -0500
committerNick Mathewson <nickm@torproject.org>2016-04-19 14:07:43 -0400
commite015f7c9ccbbb6d857e23ff419528729e44fff93 (patch)
tree4a06cbcdb95a8d27f1245e30ab5699fc21d9645f /src/test/test.h
parent7123e9706e424c2a0561ad81db3ef9e4073df30c (diff)
downloadtor-e015f7c9ccbbb6d857e23ff419528729e44fff93.tar.gz
tor-e015f7c9ccbbb6d857e23ff419528729e44fff93.zip
Basic 'handle' implementation and tests.
This abstraction covers the case where one part of the program needs to refer to another object that is allowed to disappear.
Diffstat (limited to 'src/test/test.h')
-rw-r--r--src/test/test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test.h b/src/test/test.h
index e618ce1224..153b7cae00 100644
--- a/src/test/test.h
+++ b/src/test/test.h
@@ -73,7 +73,7 @@
{print_ = (I64_PRINTF_TYPE) value_;}, {}, TT_EXIT_TEST_FUNCTION)
const char *get_fname(const char *name);
-crypto_pk_t *pk_generate(int idx);
+struct crypto_pk_t *pk_generate(int idx);
#define US2_CONCAT_2__(a, b) a ## __ ## b
#define US_CONCAT_2__(a, b) a ## _ ## b