From: Colin Watson Date: Sun, 15 Aug 2021 05:04:02 +0000 (+0000) Subject: comm-common.h: Remove unused `notify' variable X-Git-Tag: v0.6.2~34 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=6761eaea72068588a9b54a38c136703adefbbd9e;p=secnet.git comm-common.h: Remove unused `notify' variable This only needs to declare the `comm_notify_list' type, and declaring the variable here without `extern' causes a multiple-definition link failure on bullseye. --- diff --git a/comm-common.h b/comm-common.h index 45340e4..7027ee5 100644 --- a/comm-common.h +++ b/comm-common.h @@ -30,7 +30,7 @@ struct comm_notify_entry { void *state; LIST_ENTRY(comm_notify_entry) entry; }; -LIST_HEAD(comm_notify_list, comm_notify_entry) notify; +LIST_HEAD(comm_notify_list, comm_notify_entry); struct commcommon { /* must be first so that void* is comm_common* */ closure_t cl;