Skip to content

Commit 1cadecd

Browse files
committed
MSVC: void (__cdecl *)()' differs in parameter lists from 'TestFunc'
1 parent c376e0d commit 1cadecd

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

tests/test-bulk.c

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -805,14 +805,14 @@ test_update_one (bool ordered)
805805

806806

807807
static void
808-
test_update_one_ordered ()
808+
test_update_one_ordered (void)
809809
{
810810
test_update_one (true);
811811
}
812812

813813

814814
static void
815-
test_update_one_unordered ()
815+
test_update_one_unordered (void)
816816
{
817817
test_update_one (false);
818818
}
@@ -877,7 +877,7 @@ test_replace_one (bool ordered)
877877

878878

879879
static void
880-
test_upsert_large ()
880+
test_upsert_large (void)
881881
{
882882
mongoc_bulk_operation_t *bulk;
883883
mongoc_collection_t *collection;
@@ -952,14 +952,14 @@ test_upsert_large ()
952952

953953

954954
static void
955-
test_replace_one_ordered ()
955+
test_replace_one_ordered (void)
956956
{
957957
test_replace_one (true);
958958
}
959959

960960

961961
static void
962-
test_replace_one_unordered ()
962+
test_replace_one_unordered (void)
963963
{
964964
test_replace_one (false);
965965
}
@@ -1105,7 +1105,7 @@ test_index_offset (void)
11051105

11061106

11071107
static void
1108-
test_single_ordered_bulk ()
1108+
test_single_ordered_bulk (void)
11091109
{
11101110
mongoc_client_t *client;
11111111
bool has_write_cmds;
@@ -1157,7 +1157,7 @@ test_single_ordered_bulk ()
11571157

11581158

11591159
static void
1160-
test_insert_continue_on_error ()
1160+
test_insert_continue_on_error (void)
11611161
{
11621162
mongoc_client_t *client;
11631163
bool has_write_cmds;
@@ -1204,7 +1204,7 @@ test_insert_continue_on_error ()
12041204

12051205

12061206
static void
1207-
test_update_continue_on_error ()
1207+
test_update_continue_on_error (void)
12081208
{
12091209
mongoc_client_t *client;
12101210
bool has_write_cmds;
@@ -1267,7 +1267,7 @@ test_update_continue_on_error ()
12671267

12681268

12691269
static void
1270-
test_remove_continue_on_error ()
1270+
test_remove_continue_on_error (void)
12711271
{
12721272
mongoc_client_t *client;
12731273
bool has_write_cmds;
@@ -1320,7 +1320,7 @@ test_remove_continue_on_error ()
13201320

13211321

13221322
static void
1323-
test_single_error_ordered_bulk ()
1323+
test_single_error_ordered_bulk (void)
13241324
{
13251325
mongoc_client_t *client;
13261326
bool has_write_cmds;
@@ -1378,7 +1378,7 @@ test_single_error_ordered_bulk ()
13781378

13791379

13801380
static void
1381-
test_multiple_error_ordered_bulk ()
1381+
test_multiple_error_ordered_bulk (void)
13821382
{
13831383
mongoc_client_t *client;
13841384
bool has_write_cmds;
@@ -1445,7 +1445,7 @@ test_multiple_error_ordered_bulk ()
14451445

14461446

14471447
static void
1448-
test_single_unordered_bulk ()
1448+
test_single_unordered_bulk (void)
14491449
{
14501450
mongoc_client_t *client;
14511451
bool has_write_cmds;
@@ -1495,7 +1495,7 @@ test_single_unordered_bulk ()
14951495

14961496

14971497
static void
1498-
test_single_error_unordered_bulk ()
1498+
test_single_error_unordered_bulk (void)
14991499
{
15001500
mongoc_client_t *client;
15011501
bool has_write_cmds;
@@ -1768,7 +1768,7 @@ test_write_concern_write_command_unordered_multi_err (void)
17681768

17691769

17701770
static void
1771-
test_multiple_error_unordered_bulk ()
1771+
test_multiple_error_unordered_bulk (void)
17721772
{
17731773
mongoc_client_t *client;
17741774
bool has_write_cmds;
@@ -2087,7 +2087,7 @@ test_large_inserts_ordered (void)
20872087

20882088

20892089
static void
2090-
test_large_inserts_unordered ()
2090+
test_large_inserts_unordered (void)
20912091
{
20922092
mongoc_client_t *client;
20932093
bson_t *huge_doc;
@@ -2427,14 +2427,14 @@ test_bulk_edge_case_372 (bool ordered)
24272427

24282428

24292429
static void
2430-
test_bulk_edge_case_372_ordered ()
2430+
test_bulk_edge_case_372_ordered (void)
24312431
{
24322432
test_bulk_edge_case_372 (true);
24332433
}
24342434

24352435

24362436
static void
2437-
test_bulk_edge_case_372_unordered ()
2437+
test_bulk_edge_case_372_unordered (void)
24382438
{
24392439
test_bulk_edge_case_372 (false);
24402440
}
@@ -2583,21 +2583,21 @@ _test_legacy_write_err (op_type_t op_type)
25832583

25842584

25852585
static void
2586-
test_legacy_insert_err ()
2586+
test_legacy_insert_err (void)
25872587
{
25882588
_test_legacy_write_err (INSERT);
25892589
}
25902590

25912591

25922592
static void
2593-
test_legacy_update_err ()
2593+
test_legacy_update_err (void)
25942594
{
25952595
_test_legacy_write_err (UPDATE);
25962596
}
25972597

25982598

25992599
static void
2600-
test_legacy_remove_err ()
2600+
test_legacy_remove_err (void)
26012601
{
26022602
_test_legacy_write_err (REMOVE);
26032603
}

0 commit comments

Comments
 (0)