diff options
author | Justus Winter <[email protected]> | 2017-01-31 11:43:00 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2017-01-31 17:49:27 +0000 |
commit | 85f6f60197fe56c90b663fb34db4cddf62c28c1b (patch) | |
tree | 760e92085bae983a34954c371d5dbf3c0d8e465b | |
parent | gpgscm: Remove unused functions. (diff) | |
download | libgpg-error-85f6f60197fe56c90b663fb34db4cddf62c28c1b.tar.gz libgpg-error-85f6f60197fe56c90b663fb34db4cddf62c28c1b.zip |
gpgscm: Fix build with object list.
* tests/gpgscm/scheme.c (oblist_add_by_name): Provide preallocation
information if USE_OBJECT_LIST.
Signed-off-by: Justus Winter <[email protected]>
-rw-r--r-- | scheme.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1151,6 +1151,7 @@ static INLINE pointer oblist_find_by_name(scheme *sc, const char *name) /* returns the new symbol */ static pointer oblist_add_by_name(scheme *sc, const char *name) { +#define oblist_add_by_name_allocates 3 pointer x; x = immutable_cons(sc, mk_string(sc, name), sc->NIL); |