aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/alloc.c b/src/alloc.c
index f256ff71b07..c17bdb719a9 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -4964,15 +4964,6 @@ flush_stack_call_func (void (*func) (void *arg), void *arg)
4964 eassert (current_thread == self); 4964 eassert (current_thread == self);
4965} 4965}
4966 4966
4967static bool
4968c_symbol_p (struct Lisp_Symbol *sym)
4969{
4970 char *lispsym_ptr = (char *) lispsym;
4971 char *sym_ptr = (char *) sym;
4972 ptrdiff_t lispsym_offset = sym_ptr - lispsym_ptr;
4973 return 0 <= lispsym_offset && lispsym_offset < sizeof lispsym;
4974}
4975
4976/* Determine whether it is safe to access memory at address P. */ 4967/* Determine whether it is safe to access memory at address P. */
4977static int 4968static int
4978valid_pointer_p (void *p) 4969valid_pointer_p (void *p)