summaryrefslogtreecommitdiff
path: root/lib/allocator.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-04-08 14:53:30 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-04-08 14:53:30 -0700
commit7ec98caf7757bbf462d91a5cebd440cf12cc5816 (patch)
treea06f12700c55c0a932163ff80c6c3d01883a9c36 /lib/allocator.c
parent70476b54414db1be5261c71073fc991eab5cd34a (diff)
downloademacs-7ec98caf7757bbf462d91a5cebd440cf12cc5816.tar.gz
Update from gnulib.
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 00000000000..2c1a3da03aa
--- /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 };