From: Tobias Brunner Date: Thu, 9 Jan 2025 15:05:39 +0000 (+0100) Subject: ctr: Remove parameter-less constructor prototype X-Git-Tag: android-2.5.3~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1f0bd9de60e2697a712e72b7ae9f79763a0901d;p=thirdparty%2Fstrongswan.git ctr: Remove parameter-less constructor prototype Useless and causes a compiler warning/error: error: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Werror,-Wdeprecated-non-prototype] --- diff --git a/src/libstrongswan/plugins/ctr/ctr_ipsec_crypter.h b/src/libstrongswan/plugins/ctr/ctr_ipsec_crypter.h index e9421a1be9..3814465e48 100644 --- a/src/libstrongswan/plugins/ctr/ctr_ipsec_crypter.h +++ b/src/libstrongswan/plugins/ctr/ctr_ipsec_crypter.h @@ -37,11 +37,6 @@ struct ctr_ipsec_crypter_t { crypter_t crypter; }; -/** - * Create a ctr_ipsec_crypter instance. - */ -ctr_ipsec_crypter_t *ctr_ipsec_crypter_create(); - /** * Create a ctr_ipsec_crypter instance. *