Skip to content

Commit 23d7062

Browse files
bjoriajdavis
authored andcommitted
CDRIVER-1044 declare the proper prototype
Oddly enough, it only affected Suse12 on zSeries call to function 'mongoc_stream_tls_openssl_bio_set_data' without a real prototype [-Werror=unprototyped-calls]
1 parent f470f37 commit 23d7062

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mongoc/mongoc-stream-tls-openssl-bio-private.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ BIO_METHOD *
3434
mongoc_stream_tls_openssl_bio_meth_new ();
3535

3636
void
37-
mongoc_stream_tls_openssl_bio_set_data ();
37+
mongoc_stream_tls_openssl_bio_set_data (BIO *b, void *ptr);
3838

3939
int
4040
mongoc_stream_tls_openssl_bio_create (BIO *b);

0 commit comments

Comments
 (0)