lib/macros.c: Use `void (*)(void)' as the universal function-pointer.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 3 May 2020 15:19:23 +0000 (16:19 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 3 May 2020 15:19:23 +0000 (16:19 +0100)
commitb59c46fd2f2c5d094ad9d7b72fec772b99356419
tree8edfa89d6b07ab5bb356e9e9e89a3b4cf2808543
parent6e3379050ee4b40c970f61d31dc6f9b057d39774
lib/macros.c: Use `void (*)(void)' as the universal function-pointer.

Newer versions of GCC complain about all kinds of explicit function-
pointer conversions unless (a) the arguments are /really/ similar,
or (b) they're to this specific `universal' function-pointer type.

The code which sets and uses these things looks safe to use, so I don't
think we need any further countermeasures.
lib/macros.c