Diff for /embedaddon/sudo/include/alloc.h between versions 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2012/05/29 12:26:49 version 1.1.1.3, 2013/07/22 10:46:12
Line 1 Line 1
 /*  /*
 * Copyright (c) 2009-2010 Todd C. Miller <Todd.Miller@courtesan.com> * Copyright (c) 2009-2010, 2012-1013
  *        Todd C. Miller <Todd.Miller@courtesan.com>
  *   *
  * Permission to use, copy, modify, and distribute this software for any   * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above   * purpose with or without fee is hereby granted, provided that the above
Line 19 Line 20
   
 #include <stdarg.h>  #include <stdarg.h>
   
   #undef efree
   #define efree(x)        free((void *)(x))
   
 int      easprintf(char **, const char *, ...) __printflike(2, 3);  int      easprintf(char **, const char *, ...) __printflike(2, 3);
 int      evasprintf(char **, const char *, va_list) __printflike(2, 0);  int      evasprintf(char **, const char *, va_list) __printflike(2, 0);
void     efree(void *);void    *ecalloc(size_t, size_t) __malloc_like;
void    *ecalloc(size_t, size_t);void    *emalloc(size_t) __malloc_like;
void    *emalloc(size_t);void    *emalloc2(size_t, size_t) __malloc_like;
void    *emalloc2(size_t, size_t); 
 void    *erealloc(void *, size_t);  void    *erealloc(void *, size_t);
 void    *erealloc3(void *, size_t, size_t);  void    *erealloc3(void *, size_t, size_t);
 void    *erecalloc(void *, size_t, size_t, size_t);  void    *erecalloc(void *, size_t, size_t, size_t);
char    *estrdup(const char *);char    *estrdup(const char *) __malloc_like;
char    *estrndup(const char *, size_t);char    *estrndup(const char *, size_t) __malloc_like;
   
 #endif /* _SUDO_ALLOC_H */  #endif /* _SUDO_ALLOC_H */

Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>