(make_path): Remove a comma from a diagnostic.
[gnulib.git] / lib / readtokens.c
index 8830ed7..8ae1e07 100644 (file)
@@ -50,8 +50,7 @@
 
 #include "readtokens.h"
 #include "unlocked-io.h"
-void *xmalloc ();
-void *xrealloc ();
+#include "xalloc.h"
 
 #define STREQ(a,b) ((a) == (b) || ((a) && (b) && *(a) == *(b) \
                                   && strcmp(a, b) == 0))
@@ -109,9 +108,10 @@ readtoken (FILE *stream,
   if (!same_delimiters)
     {
       const char *t;
+      unsigned int j;
       saved_delim = delim;
-      for (i = 0; i < sizeof (isdelim); i++)
-       isdelim[i] = 0;
+      for (j = 0; j < sizeof (isdelim); j++)
+       isdelim[j] = 0;
       for (t = delim; *t; t++)
        isdelim[(unsigned int) *t] = 1;
     }