From efeb030eefdc4d0724ccf0ea725333d02db0c143 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Thu, 6 Apr 2023 09:19:30 +0930 Subject: [PATCH] common: fix build of run-channel_type.c Broken in master, perhaps due to rebase? Signed-off-by: Rusty Russell --- common/test/run-channel_type.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common/test/run-channel_type.c b/common/test/run-channel_type.c index 24e95686f..09aa8bcf4 100644 --- a/common/test/run-channel_type.c +++ b/common/test/run-channel_type.c @@ -20,12 +20,18 @@ struct amount_sat amount_sat(u64 satoshis UNNEEDED) struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED) { fprintf(stderr, "amount_sat_add called!\n"); abort(); } +/* Generated stub for amount_sat_div */ +struct amount_sat amount_sat_div(struct amount_sat sat UNNEEDED, u64 div UNNEEDED) +{ fprintf(stderr, "amount_sat_div called!\n"); abort(); } /* Generated stub for amount_sat_eq */ bool amount_sat_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED) { fprintf(stderr, "amount_sat_eq called!\n"); abort(); } /* Generated stub for amount_sat_greater_eq */ bool amount_sat_greater_eq(struct amount_sat a UNNEEDED, struct amount_sat b UNNEEDED) { fprintf(stderr, "amount_sat_greater_eq called!\n"); abort(); } +/* Generated stub for amount_sat_mul */ +bool amount_sat_mul(struct amount_sat *res UNNEEDED, struct amount_sat sat UNNEEDED, u64 mul UNNEEDED) +{ fprintf(stderr, "amount_sat_mul called!\n"); abort(); } /* Generated stub for amount_sat_sub */ bool amount_sat_sub(struct amount_sat *val UNNEEDED, struct amount_sat a UNNEEDED,