]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix two mismatches between function declaration and definition.
authorbrooks <brooks@FreeBSD.org>
Tue, 16 Jul 2019 16:03:08 +0000 (16:03 +0000)
committerbrooks <brooks@FreeBSD.org>
Tue, 16 Jul 2019 16:03:08 +0000 (16:03 +0000)
commita8e6a2d72cfbbe076447afb227b209350af318d3
treeaf7f1f434f85e9f1b91cc0fbae482a6cfb7af9bf
parent9480d8095897916effba0673d26753e67a08d38f
Fix two mismatches between function declaration and definition.

In both cases, function pointer arguments were inconsistently declared
and the result worked because of C's odd rules around function pointer
(de)references.  With a stricter compiler these fail to compile.

Reviewed by: cem
Obtained from: CheriBSD
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D20964
contrib/amd/amd/amd.h
contrib/amd/amd/rpc_fwd.c