diff options
author | Florian Weimer <fweimer@redhat.com> | 2023-11-06 12:57:12 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2023-11-06 12:57:32 +0100 |
commit | 4c1d3e2866659d13f4ab0d8826d59037265eae27 (patch) | |
tree | 4cc4f91916bc8ccc5fbfde7edaf2df047ac3af15 /gcc/tree-vectorizer.h | |
parent | 0c42741ad95af3a1e3ac07350da4c3a94865ed63 (diff) | |
download | gcc-4c1d3e2866659d13f4ab0d8826d59037265eae27.zip gcc-4c1d3e2866659d13f4ab0d8826d59037265eae27.tar.gz gcc-4c1d3e2866659d13f4ab0d8826d59037265eae27.tar.bz2 |
gcc.c-torture/execute/builtins/fputs.c: fputs_unlocked prototype
Current glibc headers only declare fputs_unlocked for _GNU_SOURCE,
so define it to obtain an official prototype.
Add a fallback prototype declaration for other systems that do not
have fputs_unlocked. This seems to the most straightforward approach
to avoid an implicit function declaration, without reducing test
coverage and introducing ongoing maintenance requirements (e.g.,
FreeBSD added fputs_unlocked support fairly recently).
gcc/testsuite/
* gcc.c-torture/execute/builtins/fputs.c (_GNU_SOURCE):
Define.
(fputs_unlocked): Declare.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions