mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
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 (cherry picked from commit15211f1950)
This commit is contained in:
parent
7962978754
commit
6462d714c7
1 changed files with 3 additions and 3 deletions
|
|
@ -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 a new issue