在 2026-1-15 23:20, Martin Storsjö 写道:
This fixes warnings about missing prototypes, when building for
armv7, like these:

     ../math/arm/s_rint.c:36:1: warning: no previous prototype for function 
'rint' [-Wmissing-prototypes]
        36 | rint(double x)
           | ^
     ../math/arm/s_rint.c:35:1: note: declare 'static' if the function is not 
intended to be used outside of this translation unit
        35 | double
           | ^
           | static

Signed-off-by: Martin Storsjö <[email protected]>
---
  mingw-w64-crt/math/arm/s_rint.c   | 1 +
  mingw-w64-crt/math/arm/s_rintf.c  | 1 +
  mingw-w64-crt/math/arm/s_trunc.c  | 1 +
  mingw-w64-crt/math/arm/s_truncf.c | 1 +
  4 files changed, 4 insertions(+)


LGTM.


--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to