diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-11-09 11:41:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-11-09 11:41:33 +0000 |
commit | e9922970d313f8bbf5440586f3020904ff7e057c (patch) | |
tree | 24090f3abf9370a2ff1ba6327d8c06c068f9c171 /xmalloc.h | |
parent | Releasing debian version 4.3+20240723-2. (diff) | |
download | mdadm-e9922970d313f8bbf5440586f3020904ff7e057c.tar.xz mdadm-e9922970d313f8bbf5440586f3020904ff7e057c.zip |
Merging upstream version 4.3+20241108.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'xmalloc.h')
-rw-r--r-- | xmalloc.h | 13 |
1 files changed, 13 insertions, 0 deletions
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 <stddef.h> + +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 |