[BACK]Return to main.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / yacc

Diff for /src/usr.bin/yacc/main.c between version 1.24 and 1.25

version 1.24, 2014/01/08 21:40:25 version 1.25, 2014/01/08 22:30:32
Line 213 
Line 213 
 }  }
   
   
 char *  void *
 allocate(unsigned int n)  allocate(size_t n)
 {  {
     char *p;      void *v;
   
     p = NULL;      v = NULL;
     if (n)      if (n)
     {      {
         p = calloc(1, n);          v = calloc(1, n);
         if (!p) no_space();          if (!v) no_space();
     }      }
     return (p);      return (v);
 }  }
   
 #define TEMPNAME(s, c, d, l)    \  #define TEMPNAME(s, c, d, l)    \

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25