Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add several GCC attributes that should only be associated with functi…
…ons: leaf, artificial, and warn_unused_result. These are all heavily used in <stdio.h> under Fedora 17 (glibc 2.15) when optimization is turned on. Without this fix, these attributes tend to be incorrectly associated with functions' return types, which in turn leads to GCC warnings about incorrect attribute use.
- Loading branch information