diff options
author | Geert Uytterhoeven <[email protected]> | 2023-08-17 16:44:53 +0200 |
---|---|---|
committer | Geert Uytterhoeven <[email protected]> | 2023-10-06 10:03:01 +0200 |
commit | 1fee121f8f2ade1ef2937f1b7d7b08775086fba9 (patch) | |
tree | deaa4fb96e6274ca9f1bffc47fb533d37a167a31 /arch/m68k/math-emu/fp_log.c | |
parent | 648c37ec0299fca3a0062f7b2f374cc5d1e2f109 (diff) |
m68k: math-emu: Add missing prototypes
When building with W=1:
arch/m68k/math-emu/fp_arith.c:301:16: warning: no previous prototype for ‘fp_fsglmul’ [-Wmissing-prototypes]
301 | struct fp_ext *fp_fsglmul(struct fp_ext *dest, struct fp_ext *src)
| ^~~~~~~~~~
arch/m68k/math-emu/fp_arith.c:357:16: warning: no previous prototype for ‘fp_fsgldiv’ [-Wmissing-prototypes]
357 | struct fp_ext *fp_fsgldiv(struct fp_ext *dest, struct fp_ext *src)
| ^~~~~~~~~~
CC arch/m68k/math-emu/fp_log.o
...
Fix this by adding the missing prototypes to header files.
Reported-by: Arnd Bergmann <[email protected]>
Link: https://lore.kernel.org/r/[email protected]/
Signed-off-by: Geert Uytterhoeven <[email protected]>
Link: https://lore.kernel.org/r/96c039640d76973ea762d79018de0bc75bbdc1dc.1692283195.git.geert@linux-m68k.org
Diffstat (limited to 'arch/m68k/math-emu/fp_log.c')
-rw-r--r-- | arch/m68k/math-emu/fp_log.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/m68k/math-emu/fp_log.c b/arch/m68k/math-emu/fp_log.c index 9f93efd5ef49..71a8fc25575a 100644 --- a/arch/m68k/math-emu/fp_log.c +++ b/arch/m68k/math-emu/fp_log.c @@ -17,6 +17,7 @@ #include "fp_arith.h" #include "fp_emu.h" +#include "fp_log.h" static const struct fp_ext fp_one = { .exp = 0x3fff, |