]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ofw: Cast function pointer to proper type
authorWarner Losh <imp@FreeBSD.org>
Sun, 27 Nov 2022 20:23:28 +0000 (13:23 -0700)
committerWarner Losh <imp@FreeBSD.org>
Sun, 27 Nov 2022 20:23:28 +0000 (13:23 -0700)
commitfea231d21b299535302b41ac2e841f8abf1787fc
tree81abda16f69e1af8994124731ea2367867877ca6
parent10e804b6283884f9073614483f6ddf57bb11b580
ofw: Cast function pointer to proper type

clang 15 insists that we call entry() via a function prototype. Rather
than copping out and using (...), cast it to the same prototype that's
used elsewhere (with tweaks to pointers to make them fit into that
prototype). No functional change.

Sponsored by: Netflix
stand/libofw/openfirm.c