test-xvasprintf: avoid 'const' discard warnings
authorJim Meyering <meyering@redhat.com>
Fri, 11 Jun 2010 09:03:54 +0000 (11:03 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 11 Jun 2010 09:12:37 +0000 (11:12 +0200)
commit9e1e9d8f3bac7fb52b026f0b628eb37d3a839097
tree2b9b32a6ef8cad4ca17350e38b2eafeb5a998e06
parentd4ee8943cf24b460e938e903c0bfaaaf25706fe9
test-xvasprintf: avoid 'const' discard warnings

* tests/test-xvasprintf.c (test_xvasprintf, test_xasprintf): Use
"const" when assigning from literal strings.
(test_xasprintf): Add "void" in function argument list to placate
-Wstrict-prototypes and to be consistent with test_xvasprintf above.
ChangeLog
tests/test-xvasprintf.c