Build error for dtrace_isa.c on sparc
Building on SPARC:
../../sparc/dtrace/dtrace_isa.c:945: error: conflicting types for 'dtrace_setreg'
../../common/sys/dtrace_impl.h:1265: note: previous declaration of 'dtrace_setreg' was here
In the intel version of the file, and the header, it's void(), while the sparc version incorrectly declares it to return int.
(And clearly, if it's void, it mustn't return a value.)
Updated by Electric Monk 11 months ago
- % Done changed from 0 to 100
- Status changed from New to Closed
commit fec628e60aec45b40824841a8b7246141504d1cc Author: Peter Tribble <firstname.lastname@example.org> Date: 2019-01-20T23:46:34.000Z 10254 Build error for dtrace_isa.c on sparc Reviewed by: Andy Stormont <email@example.com> Reviewed by: Gergő Mihály Doma <firstname.lastname@example.org> Reviewed by: Sebastian Wiedenroth <email@example.com> Approved by: Richard Lowe <firstname.lastname@example.org>