diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/g10u.c | 4 | ||||
-rw-r--r-- | util/memory.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/util/g10u.c b/util/g10u.c index 1b0bc9d4c..16e235e09 100644 --- a/util/g10u.c +++ b/util/g10u.c @@ -25,6 +25,10 @@ #define _g10lib_INTERNAL 1 #include "g10lib.h" + +const char *g10u_revision_string(int dummy) { return "$Revision$"; } + + void *g10_malloc( size_t n ) { return m_alloc( n ); } void *g10_calloc( size_t n ) { return m_alloc_clear( n ); } void *g10_malloc_secure( size_t n ) { return m_alloc_secure( n ); } diff --git a/util/memory.c b/util/memory.c index e3f45be5b..013bd55cc 100644 --- a/util/memory.c +++ b/util/memory.c @@ -127,7 +127,7 @@ add_entry( byte *p, unsigned n, int mode, const char *info, const char *by ) index = memtbl_len++; else { struct memtbl_entry *e; - /* look for a used entry in the table. We take the first one, + /* look for a used entry in the table. We take the first one, * so that freed entries remain as long as possible in the table * (free appends a new one) */ @@ -338,6 +338,7 @@ out_of_core(size_t n, int secure) { log_fatal("out of %s memory while allocating %u bytes\n", secure? "secure":"" ,(unsigned)n ); + } /**************** |