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:
parent
54399caa2f
commit
15211f1950
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user