[SECNET PATCH] comm-common.h: Remove unused `notify' variable
Colin Watson
cjwatson at debian.org
Sun Aug 15 01:59:52 BST 2021
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
More information about the sgo-software-discuss
mailing list