diff options
| author | Alex Richardson <arichardson@FreeBSD.org> | 2025-09-15 22:07:32 +0000 |
|---|---|---|
| committer | Alex Richardson <arichardson@FreeBSD.org> | 2025-09-15 22:08:14 +0000 |
| commit | 90234b9dd8cb293f3eb9ce3765b17ebc05f9201a (patch) | |
| tree | b82d139fa4df767c57288c3c51b0cefc8907f2d0 | |
| parent | e1bc42cb1551ca2a18ef60c38247fb5dc2509ea2 (diff) | |
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
| -rw-r--r-- | sys/riscv/include/ieeefp.h | 5 |
1 files changed, 5 insertions, 0 deletions
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_ */ |
