summaryrefslogtreecommitdiff
path: root/src/or/test.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-06-11 18:52:12 +0000
committerNick Mathewson <nickm@torproject.org>2005-06-11 18:52:12 +0000
commit232861ba42c176a98fdaa2792ae2930a759723f1 (patch)
tree89a578abc3840bd24b5535b75b655e17b13bfd41 /src/or/test.c
parentdf029fc9df2e58f7bc225f0a61217bcc9c60e91b (diff)
downloadtor-232861ba42c176a98fdaa2792ae2930a759723f1.tar.gz
tor-232861ba42c176a98fdaa2792ae2930a759723f1.zip
Docment or add DOCDOC comments to undocumented functions in src/or. Make function definition format uniform.
svn:r4411
Diffstat (limited to 'src/or/test.c')
-rw-r--r--src/or/test.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/or/test.c b/src/or/test.c
index 28116eec8e..0ec4390680 100644
--- a/src/or/test.c
+++ b/src/or/test.c
@@ -122,7 +122,8 @@ remove_directory(void)
}
static void
-test_buffers(void) {
+test_buffers(void)
+{
char str[256];
char str2[256];
@@ -599,7 +600,8 @@ test_crypto_s2k(void)
}
static void
-test_util(void) {
+test_util(void)
+{
struct timeval start, end;
struct tm a_time;
smartlist_t *sl;
@@ -1428,7 +1430,8 @@ test_rend_fns(void)
}
int
-main(int c, char**v) {
+main(int c, char**v)
+{
or_options_t *options = tor_malloc_zero(sizeof(or_options_t));
network_init();
options_init(options);