commit | c225e6c1a4e6a89447cb00a71f50ae00f8f5ec3f | [log] [tgz] |
---|---|---|
author | Samuel Holland <samuel@sholland.org> | Sat Jun 29 18:19:05 2019 -0500 |
committer | Rich Felker <dalias@aerifal.cx> | Wed Jul 10 17:10:59 2019 -0400 |
tree | 16d52eb2c2a730ec9e831adccafb76ddad641d6c | |
parent | 05eb8ea0607d8886b95e083abd10c5122b475a1a [diff] |
use the correct attributes for ___errno_location In the public header, __errno_location is declared with the "const" attribute, conditional on __GNUC__. Ensure that its internal alias has the same attributes. Maintainer's note: This change also fixes a regression in quality of code generation -- multiple references to errno in a single function started generating multiple calls again -- introduced by commit e13063aad7aee341d278d2a879a76ec7b59b2ad8.