commit a89fd0d09603bd8db245064cda62891b154ba64c
parent 29bc2555e84b030a3e8602bd5234f78bd30d825f
Author: sin <sin@2f30.org>
Date:   Fri,  2 Aug 2013 12:10:09 +0100
Add unimplemented functions
No one really uses these so we should be ok.
Diffstat:
1 file changed, 28 insertions(+), 0 deletions(-)
diff --git a/random/rballoc.c b/random/rballoc.c
@@ -265,6 +265,34 @@ posix_memalign(void **memptr, size_t align, size_t siz)
 	return 0;
 }
 
+void *
+memalign(size_t align, size_t siz)
+{
+	fprintf(stderr, "%s: not implemented!\n", __func__);
+	abort();
+}
+
+void *
+pvalloc(size_t siz)
+{
+	fprintf(stderr, "%s: not implemented!\n", __func__);
+	abort();
+}
+
+void *
+aligned_alloc(size_t align, size_t siz)
+{
+	fprintf(stderr, "%s: not implemented!\n", __func__);
+	abort();
+}
+
+void *
+valloc(size_t siz)
+{
+	fprintf(stderr, "%s: not implemented!\n", __func__);
+	abort();
+}
+
 size_t
 malloc_usable_size(void *p)
 {