]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
ctr: Remove parameter-less constructor prototype
authorTobias Brunner <tobias@strongswan.org>
Thu, 9 Jan 2025 15:05:39 +0000 (16:05 +0100)
committerTobias Brunner <tobias@strongswan.org>
Fri, 10 Jan 2025 17:53:57 +0000 (18:53 +0100)
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

index e9421a1be9f15987f1b9e8fa5544d8ce3551035f..3814465e48b2cfe87bb993fac2d64c43b3f87389 100644 (file)
@@ -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.
  *