From 6761eaea72068588a9b54a38c136703adefbbd9e Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Sun, 15 Aug 2021 05:04:02 +0000 Subject: [PATCH] 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. --- comm-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2