summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2015-10-31 22:34:35 +0100
committerJuanma Barranquero <lekktu@gmail.com>2015-10-31 22:34:35 +0100
commit312bbfee95cf24be6f8bae4de3864a2cce030e52 (patch)
treedafacab4fe44f4ec99857a4983e3af5e73530414
parent4c4c8e74cac8b8680d846760ae1ef571e1bd16f1 (diff)
* src/alloc.c: Silence compiler warnings
(pointers_fit_in_lispobj_p, mmap_lisp_allowed_p): #ifdef DOUG_LEA_MALLOC.
-rw-r--r--src/alloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 7c33687ccd..8f94d2b609 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -430,6 +430,7 @@ XFLOAT_INIT (Lisp_Object f, double n)
XFLOAT (f)->u.data = n;
}
+#ifdef DOUG_LEA_MALLOC
static bool
pointers_fit_in_lispobj_p (void)
{
@@ -446,6 +447,7 @@ mmap_lisp_allowed_p (void)
regions. */
return pointers_fit_in_lispobj_p () && !might_dump;
}
+#endif
/* Head of a circularly-linked list of extant finalizers. */
static struct Lisp_Finalizer finalizers;