diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-04-15 18:10:42 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-04-15 18:10:42 -0700 |
commit | a041960a7ca40a5af684efb3e859edd9daae907d (patch) | |
tree | ef46ce849adbb532736fcd4243e200d84cac8b52 /src/lisp.h | |
parent | 15142f279769f4eea233a0d73a3afc74db0e6082 (diff) | |
download | emacs-a041960a7ca40a5af684efb3e859edd9daae907d.tar.gz emacs-a041960a7ca40a5af684efb3e859edd9daae907d.tar.bz2 emacs-a041960a7ca40a5af684efb3e859edd9daae907d.zip |
Improve ralloc.c interface checking.
See http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00720.html
* buffer.c (ralloc_reset_variable, r_alloc, r_re_alloc)
(r_alloc_free) [REL_ALLOC]: Move decls from here ...
* lisp.h (r_alloc, r_alloc_free, r_re_alloc, r_alloc_reset_variable)
[REL_ALLOC]: ... to here, to check interface.
* m/ia64.h (r_alloc, r_alloc_free) [REL_ALLOC && !_MALLOC_INTERNAL]:
Remove decls. This fixes an "It stinks!".
Diffstat (limited to 'src/lisp.h')
-rw-r--r-- | src/lisp.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lisp.h b/src/lisp.h index d1e2cc8715d..16c10f2688c 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -2832,6 +2832,14 @@ extern void syms_of_alloc (void); extern struct buffer * allocate_buffer (void); extern int valid_lisp_object_p (Lisp_Object); +#ifdef REL_ALLOC +/* Defined in ralloc.c */ +extern void *r_alloc (void **, size_t); +extern void r_alloc_free (void **); +extern void *r_re_alloc (void **, size_t); +extern void r_alloc_reset_variable (void **, void **); +#endif + /* Defined in chartab.c */ EXFUN (Fmake_char_table, 2); EXFUN (Fset_char_table_parent, 2); |