diff options
author | Bruno Haible <bruno@clisp.org> | 2017-03-04 11:24:37 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2017-03-04 11:25:20 +0100 |
commit | bc1d4143ae4dfce3a24485277b4e46a7d0a449f0 (patch) | |
tree | fad866dec858750b8ea1c56c2675a29c91178036 /modules/memmem-tests | |
parent | d3181471f95c870e9485be947608be84f7fe5325 (diff) | |
download | gnulib-bc1d4143ae4dfce3a24485277b4e46a7d0a449f0.tar.gz |
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.
Diffstat (limited to 'modules/memmem-tests')
-rw-r--r-- | modules/memmem-tests | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/memmem-tests b/modules/memmem-tests index 4738d5c8dd..28c00917a4 100644 --- a/modules/memmem-tests +++ b/modules/memmem-tests @@ -1,7 +1,8 @@ Files: tests/test-memmem.c -tests/zerosize-ptr.h tests/signature.h +tests/null-ptr.h +tests/zerosize-ptr.h tests/macros.h m4/mmap-anon.m4 |