* tests/test-readtokens.c: Avoid const-related compilation warnings.
+2012-03-08 Jim Meyering <meyering@redhat.com>
+
+ test-readtokens.c: avoid const-related compilation warnings
+ * tests/test-readtokens.c: Avoid const-related compilation warnings.
+
2012-03-07 Jim Meyering <meyering@redhat.com>
Bruno Haible <bruno@clisp.org>
static void
basic (void)
{
- char *filename = "in.827";
+ char const *filename = "in.827";
int fd = open (filename, O_CREAT | O_WRONLY, 0600);
ASSERT (fd >= 0);
ASSERT (write (fd, "a|b;c+d", 7) == 7);
if (STREQ (delim, "\\0"))
{
- delim = "";
+ delim = (char *) "";
delim_len = 1;
}