wallet/tests: add mocks for futureproofing.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2017-12-12 14:12:38 +10:30 committed by Christian Decker
parent 2931760b5b
commit 005f3826c9
2 changed files with 6 additions and 0 deletions

View File

@ -10,6 +10,9 @@ static void db_fatal(const char *fmt, ...);
#include <stdio.h>
#include <unistd.h>
/* AUTOGENERATED MOCKS START */
/* AUTOGENERATED MOCKS END */
static char *db_err;
static void db_fatal(const char *fmt, ...)
{

View File

@ -14,6 +14,9 @@ static void wallet_fatal(const char *fmt, ...);
#include <stdio.h>
#include <unistd.h>
/* AUTOGENERATED MOCKS START */
/* AUTOGENERATED MOCKS END */
static char *wallet_err;
static void wallet_fatal(const char *fmt, ...)
{