summaryrefslogtreecommitdiff
path: root/dev-libs/xmlsec/files/xmlsec-1.3.0-strict-prototypes.patch
blob: be8377efbfa4ebb62a811d11d901a8cea91478d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
https://github.com/lsh123/xmlsec/issues/627
https://github.com/lsh123/xmlsec/commit/a2c8cad6215d89ce4454adcde5e84ffb12901a7a

From a2c8cad6215d89ce4454adcde5e84ffb12901a7a Mon Sep 17 00:00:00 2001
From: lsh123 <aleksey@aleksey.com>
Date: Thu, 13 Apr 2023 10:30:13 -0400
Subject: [PATCH] Fix prototype (#629)

Issue #627
--- a/src/nss/crypto.c
+++ b/src/nss/crypto.c
@@ -412,7 +412,7 @@ xmlSecNssKeysMngrInit(xmlSecKeysMngrPtr mngr) {
  * Returns: internal key slot and initializes it if needed.
  */
 PK11SlotInfo *
-xmlSecNssGetInternalKeySlot()
+xmlSecNssGetInternalKeySlot(void)
 {
     PK11SlotInfo *slot = NULL;
     SECStatus rv;