From 101aeea52c4b9823aa4e975671dd39b58f2b8654 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Fri, 6 Sep 2024 15:42:09 +0930 Subject: [PATCH] ccan: update to latest version Gives us more room for user bits in opt. Signed-off-by: Rusty Russell --- ccan/README | 2 +- ccan/ccan/opt/opt.h | 4 ++-- ccan/ccan/tcon/tcon.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ccan/README b/ccan/README index 5ca8d67a2401..06863e6bdb87 100644 --- a/ccan/README +++ b/ccan/README @@ -1,3 +1,3 @@ CCAN imported from http://ccodearchive.net. -CCAN version: init-2587-gf927e4be +CCAN version: init-2589-g161fe383 diff --git a/ccan/ccan/opt/opt.h b/ccan/ccan/opt/opt.h index e0331be26423..d6f5634e9b50 100644 --- a/ccan/ccan/opt/opt.h +++ b/ccan/ccan/opt/opt.h @@ -530,7 +530,7 @@ struct opt_table *opt_find_short(char arg); * You can set bits in type e.g. (1<_tcon[0].canary) ? (x) : (x)) + (sizeof(0 ? (expr) : &(x)->_tcon[0].canary) ? (x) : (x)) /** * tcon_type - the type within a container (or void *)