aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpg
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2018-09-07 03:04:49 +0000
committerNIIBE Yutaka <[email protected]>2018-09-07 03:04:49 +0000
commitca8557c0d7d11e6268d260ea2336e5449d70e474 (patch)
tree29960955f3055581a48a8effd0606a2d46a6b1ec /src/gpg
parentsecmem: Export symbols and the interface. (diff)
downloadlibgpg-error-gniibe/secmem.tar.gz
libgpg-error-gniibe/secmem.zip
secmem: Exposed function should have consistent name.gniibe/secmem
* src/gpg-error.def.in, src/gpg-error.h.in, src/gpg-error.vers: Rename to gpgrt_secmem_is_secure (was: gpgrt_private_is_secure). * src/gpgrt-int.h, src/secmem.c: Reneme for _gpgrt_private_is_secure. * src/visibility.c, src/visibility.h: Follow the rename.
Diffstat (limited to '')
-rw-r--r--src/gpg-error.def.in2
-rw-r--r--src/gpg-error.h.in2
-rw-r--r--src/gpg-error.vers2
-rw-r--r--src/gpgrt-int.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/gpg-error.def.in b/src/gpg-error.def.in
index f4f3668..6aa3867 100644
--- a/src/gpg-error.def.in
+++ b/src/gpg-error.def.in
@@ -227,6 +227,6 @@ EXPORTS
gpgrt_secmem_set_auto_expand @175
gpgrt_secmem_set_flags @176
gpgrt_secmem_get_flags @177
- gpgrt_private_is_secure @178
+ gpgrt_secmem_is_secure @178
;; end of file with public symbols for Windows.
diff --git a/src/gpg-error.h.in b/src/gpg-error.h.in
index 46d4ea7..feceb95 100644
--- a/src/gpg-error.h.in
+++ b/src/gpg-error.h.in
@@ -1291,7 +1291,7 @@ void gpgrt_secmem_dump_stats (int extended);
void gpgrt_secmem_set_auto_expand (unsigned int chunksize);
void gpgrt_secmem_set_flags (unsigned flags);
unsigned gpgrt_secmem_get_flags (void);
-int gpgrt_private_is_secure (const void *p);
+int gpgrt_secmem_is_secure (const void *p);
#ifdef __cplusplus
diff --git a/src/gpg-error.vers b/src/gpg-error.vers
index 4e58300..fdb1d1b 100644
--- a/src/gpg-error.vers
+++ b/src/gpg-error.vers
@@ -199,7 +199,7 @@ GPG_ERROR_1.0 {
gpgrt_secmem_set_auto_expand;
gpgrt_secmem_set_flags;
gpgrt_secmem_get_flags;
- gpgrt_private_is_secure;
+ gpgrt_secmem_is_secure;
local:
*;
diff --git a/src/gpgrt-int.h b/src/gpgrt-int.h
index 2cc3a4c..fec9c49 100644
--- a/src/gpgrt-int.h
+++ b/src/gpgrt-int.h
@@ -754,7 +754,7 @@ void _gpgrt_secmem_dump_stats (int extended);
void _gpgrt_secmem_set_auto_expand (unsigned int chunksize);
void _gpgrt_secmem_set_flags (unsigned flags);
unsigned _gpgrt_secmem_get_flags (void);
-int _gpgrt_private_is_secure (const void *p);
+int _gpgrt_secmem_is_secure (const void *p);
/*
* Internal platform abstraction functions (sysutils.c)