From d1552bd1eb595fe63c150692ff8edec6aea8ff8e Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Fri, 28 Sep 2018 06:32:19 +0930 Subject: [PATCH] test/run-cryptomsg.c: move out of lightningd/ into common/ Signed-off-by: Rusty Russell --- {lightningd => common}/test/run-cryptomsg.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) rename {lightningd => common}/test/run-cryptomsg.c (98%) diff --git a/lightningd/test/run-cryptomsg.c b/common/test/run-cryptomsg.c similarity index 98% rename from lightningd/test/run-cryptomsg.c rename to common/test/run-cryptomsg.c index 9f355e27b..f3d00f095 100644 --- a/lightningd/test/run-cryptomsg.c +++ b/common/test/run-cryptomsg.c @@ -69,7 +69,9 @@ enum dev_disconnect dev_disconnect(int pkt_type UNUSED) /* We test what look like unknown messages. */ #define is_unknown_msg_discardable(x) 0 -#include "../../common/cryptomsg.c" +#define fromwire_peektype(msg) 0 + +#include "../cryptomsg.c" const void *trc;