Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / tools / lib / zalloc.c
blob9c856d59f56e5042fb1af677efa33a3ee4617145
1 // SPDX-License-Identifier: LGPL-2.1
3 #include <stdlib.h>
4 #include <linux/zalloc.h>
6 void *zalloc(size_t size)
8 return calloc(1, size);
11 void __zfree(void **ptr)
13 free(*ptr);
14 *ptr = NULL;