aboutsummaryrefslogtreecommitdiffstats
path: root/envaligned_reallocn.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--envaligned_reallocn.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/envaligned_reallocn.c b/envaligned_reallocn.c
new file mode 100644
index 0000000..747e8c8
--- /dev/null
+++ b/envaligned_reallocn.c
@@ -0,0 +1,25 @@
+/* See LICENSE file for copyright and license details. */
+#include "libsimple.h"
+#ifndef TEST
+
+
+void *
+libsimple_envaligned_reallocn(int status, void *ptr, size_t alignment, size_t n, va_list ap) /* TODO test (evaligned_reallocn, aligned_reallocn, enaligned_reallocn, ealigned_reallocn) */
+{
+ void *ret = valigned_reallocn(ptr, alignment, n, ap);
+ if (!ret)
+ enprintf(status, "valigned_reallocn:");
+ return ret;
+}
+
+
+#else
+#include "test.h"
+
+int
+main(void)
+{
+ return 0;
+}
+
+#endif