The branch main has been updated by arichardson: URL: https://cgit.FreeBSD.org/src/commit/?id=90234b9dd8cb293f3eb9ce3765b17ebc05f9201a
commit 90234b9dd8cb293f3eb9ce3765b17ebc05f9201a Author: Alex Richardson <arichard...@freebsd.org> AuthorDate: 2025-09-15 22:07:32 +0000 Commit: Alex Richardson <arichard...@freebsd.org> CommitDate: 2025-09-15 22:08:14 +0000 riscv: Provide prototypes for fpgetmask/fpsetmask These functions are stubs that do nothing but are called by some software and not providing them results in implicit function declaration errors. This was missed in D25740. Reviewed by: #riscv, mhorne MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D52035 --- sys/riscv/include/ieeefp.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys/riscv/include/ieeefp.h b/sys/riscv/include/ieeefp.h index 03a96e8a000f..84b554a04c65 100644 --- a/sys/riscv/include/ieeefp.h +++ b/sys/riscv/include/ieeefp.h @@ -5,4 +5,9 @@ /* TODO */ typedef int fp_except_t; +__BEGIN_DECLS +extern fp_except_t fpgetmask(void); +extern fp_except_t fpsetmask(fp_except_t); +__END_DECLS + #endif /* _MACHINE_IEEEFP_H_ */