diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2019-10-22 03:40:26 +0000 |
---|---|---|
committer | Iain Sandoe <iains@gcc.gnu.org> | 2019-10-22 03:40:26 +0000 |
commit | 24b54eb2fd9ee616d899683a459756072e3a1c4d (patch) | |
tree | 993f780df5c4b46bc63d3bcdd2ca6dc842552ac3 /gcc/json.cc | |
parent | 8c72657917ad7b9160c36a5b7b240b3389da8eec (diff) | |
download | gcc-24b54eb2fd9ee616d899683a459756072e3a1c4d.zip gcc-24b54eb2fd9ee616d899683a459756072e3a1c4d.tar.gz gcc-24b54eb2fd9ee616d899683a459756072e3a1c4d.tar.bz2 |
[testsuite] Make the Wnonnull independent of system headers.
To avoid the result of this test depending on the implementation of
the system 'string.h', provide prototypes for the two functions used
in the test.
gcc/testsuite/ChangeLog:
2019-10-22 Iain Sandoe <iain@sandoe.co.uk>
* gcc.dg/Wnonnull.c: Provide prototypes for strlen and memcpy.
Use __SIZE_TYPE__ instead of size_t.
From-SVN: r277280
Diffstat (limited to 'gcc/json.cc')
0 files changed, 0 insertions, 0 deletions