aboutsummaryrefslogtreecommitdiffstats
path: root/lib/allocator.c
diff options
context:
space:
mode:
authorPaul Eggert2011-04-10 09:44:27 -0700
committerPaul Eggert2011-04-10 09:44:27 -0700
commitb2ded58d7e0eb75f00071036d1c07bbd55313b60 (patch)
tree5546bb6d7214033a83d13ce87a15f65595f6ae74 /lib/allocator.c
parent37f1c9309eb0e6b3bc3dda1ffa7f99410c22355d (diff)
parent12020a9e6dcfc2213e8bbb0fec259c1ed1202f30 (diff)
downloademacs-b2ded58d7e0eb75f00071036d1c07bbd55313b60.tar.gz
emacs-b2ded58d7e0eb75f00071036d1c07bbd55313b60.zip
Fix more problems found by GCC 4.6.0's static checks.
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 @@
1#define _GL_USE_STDLIB_ALLOC 1
2#include <config.h>
3#include "allocator.h"
4#include <stdlib.h>
5struct allocator const stdlib_allocator = { malloc, realloc, free, NULL };