Hi,

I think this is right. The variables in question are already defined in
mon-init.c, so just the missing `extern` qualifiers.

No bump required I think.

OK?

Index: patches/patch-src_mon-blows_h
===================================================================
RCS file: patches/patch-src_mon-blows_h
diff -N patches/patch-src_mon-blows_h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_mon-blows_h       10 Feb 2021 17:01:15 -0000
@@ -0,0 +1,25 @@
+$OpenBSD$
+
+Fixes for -fno-common.
+
+Index: src/mon-blows.h
+--- src/mon-blows.h.orig
++++ src/mon-blows.h
+@@ -35,7 +35,7 @@ struct blow_method {
+       struct blow_method *next;
+ };
+ 
+-struct blow_method *blow_methods;
++extern struct blow_method *blow_methods;
+ 
+ /**
+  * Storage for context information for effect handlers called in
+@@ -76,7 +76,7 @@ struct blow_effect {
+       struct blow_effect *next;
+ };
+ 
+-struct blow_effect *blow_effects;
++extern struct blow_effect *blow_effects;
+ 
+ /* Functions */
+ int blow_index(const char *name);

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk

Reply via email to