]> Savannah Git Hosting - gnulib.git/commit
tests: Avoid compiler warning about uses of null_ptr.
authorBruno Haible <bruno@clisp.org>
Sat, 4 Mar 2017 10:24:37 +0000 (11:24 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 4 Mar 2017 10:25:20 +0000 (11:25 +0100)
commitbc1d4143ae4dfce3a24485277b4e46a7d0a449f0
treefad866dec858750b8ea1c56c2675a29c91178036
parentd3181471f95c870e9485be947608be84f7fe5325
tests: Avoid compiler warning about uses of null_ptr.

* tests/null-ptr.h: New file.
* tests/test-canonicalize.c: Include null-ptr.h.
(null_ptr): Remove function.
* tests/test-canonicalize-lgpl.c: Likewise.
* tests/test-memmem.c: Likewise.
* tests/test-ptsname_r.c: Likewise.
* modules/canonicalize-tests (Files): Add tests/null-ptr.h.
* modules/canonicalize-lgpl-tests: Likewise.
* modules/memmem-tests: Likewise.
* modules/ptsname_r-tests: Likewise.
Reported by Jim Meyering.
ChangeLog
modules/canonicalize-lgpl-tests
modules/canonicalize-tests
modules/memmem-tests
modules/ptsname_r-tests
tests/null-ptr.h [new file with mode: 0644]
tests/test-canonicalize-lgpl.c
tests/test-canonicalize.c
tests/test-memmem.c
tests/test-ptsname_r.c