summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmocka.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmocka.c b/src/cmocka.c
index 9e52015..885cf33 100644
--- a/src/cmocka.c
+++ b/src/cmocka.c
@@ -1546,6 +1546,9 @@ static void *libc_realloc(void *ptr, size_t size)
#define realloc test_realloc
}
+static void vcm_print_error(const char* const format,
+ va_list args) CMOCKA_PRINTF_ATTRIBUTE(1, 0);
+
/* It's important to use the libc malloc and free here otherwise
* the automatic free of leaked blocks can reap the error messages
*/