summaryrefslogtreecommitdiff
path: root/lib/allocator.c
diff options
context:
space:
mode:
authorBruce Korb <bkorb@gnu.org>2011-05-06 08:15:59 -0700
committerBruce Korb <bkorb@gnu.org>2011-05-06 08:15:59 -0700
commit10c1e9dc30730133dbb631c9be0a4e84ce0b0eaa (patch)
treec1ecc41b19fbec4e92c119d5cba945b8b91ac7d7 /lib/allocator.c
parent9bccf2c3e4f68a37499615fddd51c727d6bb2624 (diff)
parentd801cb77b966678e21af7a106b15a3fe598d5ec4 (diff)
downloadgnulib-topic/libposix.tar.gz
manual mergetopic/libposix
Diffstat (limited to 'lib/allocator.c')
-rw-r--r--lib/allocator.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/allocator.c b/lib/allocator.c
new file mode 100644
index 0000000000..2c1a3da03a
--- /dev/null
+++ b/lib/allocator.c
@@ -0,0 +1,5 @@
+#define _GL_USE_STDLIB_ALLOC 1
+#include <config.h>
+#include "allocator.h"
+#include <stdlib.h>
+struct allocator const stdlib_allocator = { malloc, realloc, free, NULL };