Silence unused parameter warnings in the RISC-V fenv.h

After increasing the lib/msun/tests WARNS to 6, this triggers a
compilation error for RISC-V.

Fixes:		87d65c747a ("lib/msun: Allow building tests with WARNS=6")
Reported by:	Jenkins
This commit is contained in:
Alex Richardson 2021-03-22 17:47:50 +00:00
parent 54399caa2f
commit 15211f1950

View File

@ -186,7 +186,7 @@ fegetenv(fenv_t *__envp)
}
__fenv_static inline int
feholdexcept(fenv_t *__envp)
feholdexcept(fenv_t *__envp __unused)
{
/* No exception traps. */
@ -226,7 +226,7 @@ int fedisableexcept(int __mask);
int fegetexcept(void);
#else
static inline int
feenableexcept(int __mask)
feenableexcept(int __mask __unused)
{
/* No exception traps. */
@ -235,7 +235,7 @@ feenableexcept(int __mask)
}
static inline int
fedisableexcept(int __mask)
fedisableexcept(int __mask __unused)
{
/* No exception traps. */