[Pkg-gnupg-commit] [gnupg2] 62/112: gpgscm: Make the name of foreign functions more unique.
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Tue Aug 30 17:48:21 UTC 2016
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch master
in repository gnupg2.
commit efe973dab7f69e2b1309446b2fbcd47ce0305399
Author: Justus Winter <justus at g10code.com>
Date: Wed Aug 10 11:50:12 2016 +0200
gpgscm: Make the name of foreign functions more unique.
* tests/gpgscm/ffi-private.h (ffi_define_function_name): Add another
underscore.
Signed-off-by: Justus Winter <justus at g10code.com>
---
tests/gpgscm/ffi-private.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/gpgscm/ffi-private.h b/tests/gpgscm/ffi-private.h
index 87f491f..0d58c41 100644
--- a/tests/gpgscm/ffi-private.h
+++ b/tests/gpgscm/ffi-private.h
@@ -93,7 +93,7 @@ pointer ffi_sprintf (scheme *sc, const char *format, ...)
#define ffi_define_function_name(SC, NAME, F) \
do { \
- char *_fname = ffi_schemify_name ("_" #F, 0); \
+ char *_fname = ffi_schemify_name ("__" #F, 0); \
scheme_define ((SC), \
(SC)->global_env, \
mk_symbol ((SC), _fname), \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git
More information about the Pkg-gnupg-commit
mailing list