]> git.ipfire.org Git - thirdparty/glibc.git/commit
math: Remove an extra semicolon in math function declarations
authorAurelien Jarno <aurelien@aurel32.net>
Thu, 6 Mar 2025 18:34:15 +0000 (19:34 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Sat, 8 Mar 2025 12:31:03 +0000 (13:31 +0100)
commit443cb0b5f25129dd0f1e9f9101299d31c4700b7f
treec7a621982abd0fcfcb347f69c7346b8d4410bd53
parenta9017caff3b77032d04e2e439f7c04a63241e63e
math: Remove an extra semicolon in math function declarations

Commit 6bc301672bfbd ("math: Remove __XXX math functions from installed
math.h [BZ #32418]") left an extra semicolon after macro expansion. For
instance the ceil declaration after expansion is:

  extern double ceil (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));;

This chokes very naive parsers like gauche c-wrapper. Fix that by
removing that extra semicolon in the macro.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
math/bits/mathcalls-macros.h