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.
void *state;
LIST_ENTRY(comm_notify_entry) 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;
struct commcommon { /* must be first so that void* is comm_common* */
closure_t cl;