[BACK]Return to xmalloc.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/xmalloc.h between version 1.5 and 1.6

version 1.5, 2000/09/07 20:27:56 version 1.6, 2001/06/26 06:33:07
Line 20 
Line 20 
 #define XMALLOC_H  #define XMALLOC_H
   
 /* Like malloc, but calls fatal() if out of memory. */  /* Like malloc, but calls fatal() if out of memory. */
 void   *xmalloc(size_t size);  void   *xmalloc(size_t);
   
 /* Like realloc, but calls fatal() if out of memory. */  /* Like realloc, but calls fatal() if out of memory. */
 void   *xrealloc(void *ptr, size_t new_size);  void   *xrealloc(void *, size_t);
   
 /* Frees memory allocated using xmalloc or xrealloc. */  /* Frees memory allocated using xmalloc or xrealloc. */
 void    xfree(void *ptr);  void    xfree(void *);
   
 /* Allocates memory using xmalloc, and copies the string into that memory. */  /* Allocates memory using xmalloc, and copies the string into that memory. */
 char   *xstrdup(const char *str);  char   *xstrdup(const char *);
   
 #endif                          /* XMALLOC_H */  #endif                          /* XMALLOC_H */

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