From f1f0bd9de60e2697a712e72b7ae9f79763a0901d Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Thu, 9 Jan 2025 16:05:39 +0100 Subject: [PATCH] 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] --- src/libstrongswan/plugins/ctr/ctr_ipsec_crypter.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/libstrongswan/plugins/ctr/ctr_ipsec_crypter.h b/src/libstrongswan/plugins/ctr/ctr_ipsec_crypter.h index e9421a1be..3814465e4 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. *