Commit ee525e65 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

vlc_common.h: Remove unused xcalloc()

parent 851e006e
......@@ -1154,14 +1154,6 @@ static inline void *xrealloc(void *ptr, size_t len)
return nptr;
}
static inline void *xcalloc(size_t n, size_t size)
{
void *ptr = calloc(n, size);
if (unlikely(ptr == NULL && (n > 0 || size > 0)))
abort ();
return ptr;
}
static inline char *xstrdup (const char *str)
{
char *ptr = strdup (str);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment