strtoimax: port to HP-UX 11.11
[gnulib.git] / tests / test-readtokens.c
index 1ee0c86..44193d5 100644 (file)
@@ -1,5 +1,5 @@
 /* Test the readtokens module.
-   Copyright (C) 2012 Free Software Foundation, Inc.
+   Copyright (C) 2012-2013 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -30,7 +30,7 @@
 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);
@@ -56,7 +56,7 @@ int
 main (int argc, char **argv)
 {
   token_buffer tb;
-  char *delim;
+  char const *delim;
   size_t delim_len;
 
   atexit (close_stdout);