aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_bio.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-11-09 21:09:04 +0000
committerChristian Grothoff <christian@grothoff.org>2009-11-09 21:09:04 +0000
commit84861222bafd63532bafdb3879f3ae4ac82131bf (patch)
tree9816296b5cfc39f86e498b934805ef1adc479c54 /src/util/test_bio.c
parent42788c9183bb61c5a5435b4a9e28ff21663494a3 (diff)
downloadgnunet-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.c22
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
33static int 33static int
34test_normal_rw (void) 34test_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
103static int 103static int
104test_emptystring_rw (void) 104test_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
128static int 128static int
129test_bigstring_rw (void) 129test_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
188static int 188static int
189test_directory_r(void){ 189test_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
201static int 201static int
202test_nullfile_rw (void) 202test_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
255static int 255static int
256test_fakestring_rw (void) 256test_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
281static int 281static int
282test_fakemeta_rw (void) 282test_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
308static int 308static int
309test_fakebigmeta_rw (void) 309test_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
335static int 335static int
336check_string_rw (void) 336check_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
345static int 345static int
346check_metadata_rw (void) 346check_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
354static int 354static int
355check_file_rw (void) 355check_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 ());