From 427b2c9678bcba914edb6149b4da68140cf7703d Mon Sep 17 00:00:00 2001 From: Alexander Courtis Date: Mon, 23 Dec 2024 16:10:12 +1100 Subject: [PATCH] Revert "#164 attempt cmocka version upgrade" This reverts commit 110b3c3d153c7cbf5c98e88c3f8dbbbc22c58433. --- tst/tst.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tst/tst.h b/tst/tst.h index f65571e..8d5fd5e 100644 --- a/tst/tst.h +++ b/tst/tst.h @@ -8,6 +8,9 @@ #include +// TODO: use cmocka_print_error and remove this proto once cmocka 1.1.7+ is widely available +void cm_print_error(const char* const format, ...) CMOCKA_PRINTF_ATTRIBUTE(1, 2); + // print log messages, useful when debugging tests #define LOG_PRINT false