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/m/ia64.h | |
parent | 15142f279769f4eea233a0d73a3afc74db0e6082 (diff) | |
download | emacs-a041960a7ca40a5af684efb3e859edd9daae907d.tar.gz |
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/m/ia64.h')
-rw-r--r-- | src/m/ia64.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/m/ia64.h b/src/m/ia64.h index 2ddc2fdfb17..47df94cedd0 100644 --- a/src/m/ia64.h +++ b/src/m/ia64.h @@ -30,13 +30,3 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ #define EMACS_INT long #define pI "l" #define EMACS_UINT unsigned long - -#ifdef REL_ALLOC -#ifndef _MALLOC_INTERNAL -/* "char *" because ralloc.c defines it that way. gmalloc.c thinks it - is allowed to prototype these as "void *" so we don't prototype in - that case. You're right: it stinks! */ -extern char *r_alloc (), *r_re_alloc (); -extern void r_alloc_free (); -#endif /* not _MALLOC_INTERNAL */ -#endif /* REL_ALLOC */ |