From e9922970d313f8bbf5440586f3020904ff7e057c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 9 Nov 2024 12:41:33 +0100 Subject: Merging upstream version 4.3+20241108. Signed-off-by: Daniel Baumann --- xmalloc.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 xmalloc.h (limited to 'xmalloc.h') diff --git a/xmalloc.h b/xmalloc.h new file mode 100644 index 0000000..0904b0a --- /dev/null +++ b/xmalloc.h @@ -0,0 +1,13 @@ +// SPDX-License-Identifier: GPL-2.0-only + +#ifndef XMALLOC_H +#define XMALLOC_H + +#include + +void *xmalloc(size_t len); +void *xrealloc(void *ptr, size_t len); +void *xcalloc(size_t num, size_t size); +char *xstrdup(const char *str); + +#endif -- cgit v1.2.3