aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2016-08-10 09:50:12 +0000
committerJustus Winter <[email protected]>2016-08-10 09:50:12 +0000
commitefe973dab7f69e2b1309446b2fbcd47ce0305399 (patch)
tree83492aa6665610de0c829fc9f760df3691abcc3d
parenttests: Run each test in a clean environment. (diff)
downloadgnupg-efe973dab7f69e2b1309446b2fbcd47ce0305399.tar.gz
gnupg-efe973dab7f69e2b1309446b2fbcd47ce0305399.zip
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 <[email protected]>
Diffstat (limited to '')
-rw-r--r--tests/gpgscm/ffi-private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gpgscm/ffi-private.h b/tests/gpgscm/ffi-private.h
index 87f491f9f..0d58c416e 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), \