diff options
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 9 |
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 | ||
| 4967 | static bool | ||
| 4968 | c_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. */ |
| 4977 | static int | 4968 | static int |
| 4978 | valid_pointer_p (void *p) | 4969 | valid_pointer_p (void *p) |