]> git.ipfire.org Git - thirdparty/glibc.git/commit
Use __attribute_pure__ macro in bits/mathcalls.h
authorGabriel F. T. Gomes <gabrielftg@linux.ibm.com>
Thu, 5 Sep 2019 20:06:03 +0000 (17:06 -0300)
committerGabriel F. T. Gomes <gabrielftg@linux.ibm.com>
Thu, 5 Sep 2019 22:20:29 +0000 (19:20 -0300)
commit1b7f04070bd94f259e2ed24d6fb76309d64fb164
tree7ea160e905c343abc2cc84436d71e2172030db93
parentde18a7061c9bdff73d66502c55d6a3ea671fc6d9
Use __attribute_pure__ macro in bits/mathcalls.h

When the const attribute of totalorder* functions was replaced with the
pure attribute, by commit ID ab41100bab12, it did not use the
__attribute_pure__ macro, but the __attribute__ ((__pure__)) statement.
All other uses of the pure attribute in glibc use the macro.

Tested for powerpc64le.
math/bits/mathcalls.h