[BACK]Return to xstd.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/Attic/xstd.c between version 1.5 and 1.6

version 1.5, 2009/01/20 22:55:46 version 1.6, 2009/02/28 13:47:36
Line 63  xstrlcpy(char *dst, const char *src, size_t sz)
Line 63  xstrlcpy(char *dst, const char *src, size_t sz)
 }  }
   
 void *  void *
   xrealloc(void *ptr, size_t sz)
   {
           void            *p;
   
           if (NULL == (p = realloc(ptr, sz)))
                   err(EXIT_FAILURE, "realloc");
           return(p);
   }
   
   void *
 xcalloc(size_t num, size_t sz)  xcalloc(size_t num, size_t sz)
 {  {
         void            *p;          void            *p;

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

CVSweb