chiark
/
gitweb
/
~ianmdlvl
/
secnet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5470908
)
comm-common.h: Remove unused `notify' variable
author
Colin Watson
<cjwatson@debian.org>
Sun, 15 Aug 2021 05:04:02 +0000
(
05:04
+0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 23 Dec 2021 11:25:14 +0000
(11:25 +0000)
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
patch
|
blob
|
history
diff --git
a/comm-common.h
b/comm-common.h
index 45340e4202e8bfe6a05dd906a4a1090e9ee80eec..7027ee5f5aadafc9a93c01aae45b89e7d2743264 100644
(file)
--- 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;