diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-11-09 21:09:04 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-11-09 21:09:04 +0000 |
commit | 84861222bafd63532bafdb3879f3ae4ac82131bf (patch) | |
tree | 9816296b5cfc39f86e498b934805ef1adc479c54 /src/util/test_bio.c | |
parent | 42788c9183bb61c5a5435b4a9e28ff21663494a3 (diff) | |
download | gnunet-84861222bafd63532bafdb3879f3ae4ac82131bf.tar.gz gnunet-84861222bafd63532bafdb3879f3ae4ac82131bf.zip |
no void in definitions
Diffstat (limited to 'src/util/test_bio.c')
-rw-r--r-- | src/util/test_bio.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/util/test_bio.c b/src/util/test_bio.c index 6fb132325..b9c432ad8 100644 --- a/src/util/test_bio.c +++ b/src/util/test_bio.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #define TESTNUMBER64 100000L | 31 | #define TESTNUMBER64 100000L |
32 | 32 | ||
33 | static int | 33 | static int |
34 | test_normal_rw (void) | 34 | test_normal_rw () |
35 | { | 35 | { |
36 | char *msg; | 36 | char *msg; |
37 | int64_t testNum; | 37 | int64_t testNum; |
@@ -101,7 +101,7 @@ test_nullstring_rw () | |||
101 | } | 101 | } |
102 | 102 | ||
103 | static int | 103 | static int |
104 | test_emptystring_rw (void) | 104 | test_emptystring_rw () |
105 | { | 105 | { |
106 | char *msg; | 106 | char *msg; |
107 | char *readResultString; | 107 | char *readResultString; |
@@ -126,7 +126,7 @@ test_emptystring_rw (void) | |||
126 | } | 126 | } |
127 | 127 | ||
128 | static int | 128 | static int |
129 | test_bigstring_rw (void) | 129 | test_bigstring_rw () |
130 | { | 130 | { |
131 | char *msg; | 131 | char *msg; |
132 | char *readResultString; | 132 | char *readResultString; |
@@ -186,7 +186,7 @@ test_bigmeta_rw () | |||
186 | } | 186 | } |
187 | 187 | ||
188 | static int | 188 | static int |
189 | test_directory_r(void){ | 189 | test_directory_r(){ |
190 | char *msg; | 190 | char *msg; |
191 | char readResult[200]; | 191 | char readResult[200]; |
192 | const char *fileName = "/dev"; | 192 | const char *fileName = "/dev"; |
@@ -199,7 +199,7 @@ test_directory_r(void){ | |||
199 | } | 199 | } |
200 | 200 | ||
201 | static int | 201 | static int |
202 | test_nullfile_rw (void) | 202 | test_nullfile_rw () |
203 | { | 203 | { |
204 | char *msg; | 204 | char *msg; |
205 | int64_t testNum; | 205 | int64_t testNum; |
@@ -253,7 +253,7 @@ test_nullfile_rw (void) | |||
253 | } | 253 | } |
254 | 254 | ||
255 | static int | 255 | static int |
256 | test_fakestring_rw (void) | 256 | test_fakestring_rw () |
257 | { | 257 | { |
258 | char *msg; | 258 | char *msg; |
259 | int32_t tmpInt = 2; | 259 | int32_t tmpInt = 2; |
@@ -279,7 +279,7 @@ test_fakestring_rw (void) | |||
279 | } | 279 | } |
280 | 280 | ||
281 | static int | 281 | static int |
282 | test_fakemeta_rw (void) | 282 | test_fakemeta_rw () |
283 | { | 283 | { |
284 | char *msg; | 284 | char *msg; |
285 | int32_t tmpInt = 2; | 285 | int32_t tmpInt = 2; |
@@ -306,7 +306,7 @@ test_fakemeta_rw (void) | |||
306 | } | 306 | } |
307 | 307 | ||
308 | static int | 308 | static int |
309 | test_fakebigmeta_rw (void) | 309 | test_fakebigmeta_rw () |
310 | { | 310 | { |
311 | char *msg; | 311 | char *msg; |
312 | int32_t tmpInt = 1024 * 1024 * 10; | 312 | int32_t tmpInt = 1024 * 1024 * 10; |
@@ -333,7 +333,7 @@ test_fakebigmeta_rw (void) | |||
333 | } | 333 | } |
334 | 334 | ||
335 | static int | 335 | static int |
336 | check_string_rw (void) | 336 | check_string_rw () |
337 | { | 337 | { |
338 | GNUNET_assert (0 == test_nullstring_rw ()); | 338 | GNUNET_assert (0 == test_nullstring_rw ()); |
339 | GNUNET_assert (0 == test_emptystring_rw ()); | 339 | GNUNET_assert (0 == test_emptystring_rw ()); |
@@ -343,7 +343,7 @@ check_string_rw (void) | |||
343 | } | 343 | } |
344 | 344 | ||
345 | static int | 345 | static int |
346 | check_metadata_rw (void) | 346 | check_metadata_rw () |
347 | { | 347 | { |
348 | GNUNET_assert (0 == test_fakebigmeta_rw ()); | 348 | GNUNET_assert (0 == test_fakebigmeta_rw ()); |
349 | GNUNET_assert (0 == test_fakemeta_rw ()); | 349 | GNUNET_assert (0 == test_fakemeta_rw ()); |
@@ -352,7 +352,7 @@ check_metadata_rw (void) | |||
352 | } | 352 | } |
353 | 353 | ||
354 | static int | 354 | static int |
355 | check_file_rw (void) | 355 | check_file_rw () |
356 | { | 356 | { |
357 | GNUNET_assert (0 == test_normal_rw ()); | 357 | GNUNET_assert (0 == test_normal_rw ()); |
358 | GNUNET_assert (0 == test_nullfile_rw ()); | 358 | GNUNET_assert (0 == test_nullfile_rw ()); |