• Bruno Haible's avatar
    tests: Avoid compiler warning about uses of null_ptr. · bc1d4143
    Bruno Haible authored
    * 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.
    bc1d4143