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 about 1 year ago
- % Done changed from 0 to 100
- Status changed from New to Closed
commit fec628e60aec45b40824841a8b7246141504d1cc Author: Peter Tribble <email@example.com> Date: 2019-01-20T23:46:34.000Z 10254 Build error for dtrace_isa.c on sparc Reviewed by: Andy Stormont <firstname.lastname@example.org> Reviewed by: Gergő Mihály Doma <email@example.com> Reviewed by: Sebastian Wiedenroth <firstname.lastname@example.org> Approved by: Richard Lowe <email@example.com>