aboutsummaryrefslogtreecommitdiffstats
path: root/src/ralloc.c
diff options
context:
space:
mode:
authorJoakim Verona2012-05-22 08:52:40 +0200
committerJoakim Verona2012-05-22 08:52:40 +0200
commit207460f292db1b9ede6b8ddad3ed7ac6bba026b5 (patch)
tree1940ab855db68a26de26d8d98223be6c4df00df8 /src/ralloc.c
parentf65ef7eab4132e1de79355660b78878d23038110 (diff)
parentcb1f695c7355c7b19dd79c8c2aa704a19fcfafa7 (diff)
downloademacs-207460f292db1b9ede6b8ddad3ed7ac6bba026b5.tar.gz
emacs-207460f292db1b9ede6b8ddad3ed7ac6bba026b5.zip
upstream
Diffstat (limited to 'src/ralloc.c')
-rw-r--r--src/ralloc.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/ralloc.c b/src/ralloc.c
index 4bb2f240438..d736e279520 100644
--- a/src/ralloc.c
+++ b/src/ralloc.c
@@ -31,9 +31,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
31 31
32#include <unistd.h> 32#include <unistd.h>
33 33
34typedef POINTER_TYPE *POINTER;
35typedef size_t SIZE;
36
37#ifdef DOUG_LEA_MALLOC 34#ifdef DOUG_LEA_MALLOC
38#define M_TOP_PAD -2 35#define M_TOP_PAD -2
39extern int mallopt (int, int); 36extern int mallopt (int, int);
@@ -47,9 +44,6 @@ extern size_t __malloc_extra_blocks;
47 44
48#include <stddef.h> 45#include <stddef.h>
49 46
50typedef size_t SIZE;
51typedef void *POINTER;
52
53#include <unistd.h> 47#include <unistd.h>
54#include <malloc.h> 48#include <malloc.h>
55 49
@@ -58,6 +52,8 @@ typedef void *POINTER;
58 52
59#include "getpagesize.h" 53#include "getpagesize.h"
60 54
55typedef size_t SIZE;
56typedef void *POINTER;
61#define NIL ((POINTER) 0) 57#define NIL ((POINTER) 0)
62 58
63/* A flag to indicate whether we have initialized ralloc yet. For 59/* A flag to indicate whether we have initialized ralloc yet. For