From 6f4e01f92dfa5faa76aa8f5b592f6925990c8270 Mon Sep 17 00:00:00 2001
From: Albert Astals Cid <aacid@kde.org>
Date: Mon, 13 Jul 2020 18:59:28 +0200
Subject: [PATCH] qca-gcrypt: mark functions only used in one file as static

---
 plugins/qca-gcrypt/hkdf.c  | 2 +-
 plugins/qca-gcrypt/pkcs5.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/qca-gcrypt/hkdf.c b/plugins/qca-gcrypt/hkdf.c
index 5310a0bc..0ec94e99 100644
--- a/plugins/qca-gcrypt/hkdf.c
+++ b/plugins/qca-gcrypt/hkdf.c
@@ -22,7 +22,7 @@
 
 #include <gcrypt.h>
 
-gcry_error_t gcry_hkdf(int algo, const char *input, size_t n_input,
+static gcry_error_t gcry_hkdf(int algo, const char *input, size_t n_input,
                        const char *salt, size_t n_salt,
                        const char *info, size_t n_info,
                        char *output, size_t n_output)
diff --git a/plugins/qca-gcrypt/pkcs5.c b/plugins/qca-gcrypt/pkcs5.c
index f761ba51..53ee0e73 100644
--- a/plugins/qca-gcrypt/pkcs5.c
+++ b/plugins/qca-gcrypt/pkcs5.c
@@ -45,7 +45,7 @@
  *  Output:         DK         derived key, a dkLen-octet string
  */
 
-gcry_error_t
+static gcry_error_t
 gcry_pbkdf2 (int PRF, const char *P, size_t Plen, const char *S,
 	     size_t Slen, unsigned int c, unsigned int dkLen, char *DK)
 {