aboutsummaryrefslogtreecommitdiff
path: root/src/libnpass/gpg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libnpass/gpg.c')
-rw-r--r--src/libnpass/gpg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libnpass/gpg.c b/src/libnpass/gpg.c
index 9e3bb7a..f193363 100644
--- a/src/libnpass/gpg.c
+++ b/src/libnpass/gpg.c
@@ -18,10 +18,10 @@
static gpgme_ctx_t ctx = NULL;
static gpgme_key_t key = NULL;
-int gpg_init(void);
-void gpg_cleanup(void);
+static int gpg_init(void);
+static void gpg_cleanup(void);
-int gpg_init(void)
+static int gpg_init(void)
{
gpgme_error_t err;
const char *local = setlocale(LC_ALL, "");
@@ -40,7 +40,7 @@ int gpg_init(void)
return 0;
}
-void gpg_cleanup(void)
+static void gpg_cleanup(void)
{
if (ctx)
gpgme_key_release(key);