From 70bdd80bc7eefb84e91f4da170f4e329b423b451 Mon Sep 17 00:00:00 2001 From: Andreas Braun Date: Wed, 12 Apr 2023 08:23:21 +0200 Subject: [PATCH] PHPC-2166: Add missing void arg to fix MacOS builds (#1410) --- src/phongo_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phongo_client.c b/src/phongo_client.c index a1cef67d..04cf477c 100644 --- a/src/phongo_client.c +++ b/src/phongo_client.c @@ -75,7 +75,7 @@ static const mongoc_client_t* get_first_pclient_client(HashTable* ht) * Note: this may incorrectly return NULL if crypt_shared was loaded through a * mongoc_client_t since destroyed (e.g. single requested-scoped client); * however, that's the best can do with libmongoc's API. */ -const char* php_phongo_crypt_shared_version() +const char* php_phongo_crypt_shared_version(void) { const mongoc_client_t* client = NULL;