ptsname_r test: Avoid gcc warning on glibc systems.
authorBruno Haible <bruno@clisp.org>
Thu, 10 Nov 2011 12:56:40 +0000 (13:56 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 10 Nov 2011 12:56:40 +0000 (13:56 +0100)
commit5be861ac45514c2a0bc4c328de34af48fdad4283
tree677446d10248329297365a357ea6429e66093951
parentf5562fca6f341accafc32a5285a0262625df0fde
ptsname_r test: Avoid gcc warning on glibc systems.

* tests/test-ptsname_r.c (null_ptr): New function.
(test_errors): Use it.
ChangeLog
tests/test-ptsname_r.c