diff options
| author | Paul Eggert | 2012-04-15 18:10:42 -0700 |
|---|---|---|
| committer | Paul Eggert | 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.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); | |||
| 2832 | extern struct buffer * allocate_buffer (void); | 2832 | extern struct buffer * allocate_buffer (void); |
| 2833 | extern int valid_lisp_object_p (Lisp_Object); | 2833 | extern int valid_lisp_object_p (Lisp_Object); |
| 2834 | 2834 | ||
| 2835 | #ifdef REL_ALLOC | ||
| 2836 | /* Defined in ralloc.c */ | ||
| 2837 | extern void *r_alloc (void **, size_t); | ||
| 2838 | extern void r_alloc_free (void **); | ||
| 2839 | extern void *r_re_alloc (void **, size_t); | ||
| 2840 | extern void r_alloc_reset_variable (void **, void **); | ||
| 2841 | #endif | ||
| 2842 | |||
| 2835 | /* Defined in chartab.c */ | 2843 | /* Defined in chartab.c */ |
| 2836 | EXFUN (Fmake_char_table, 2); | 2844 | EXFUN (Fmake_char_table, 2); |
| 2837 | EXFUN (Fset_char_table_parent, 2); | 2845 | EXFUN (Fset_char_table_parent, 2); |