diff options
| author | Paul Eggert | 2012-05-27 00:51:09 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-05-27 00:51:09 -0700 |
| commit | 57b81a9f519a6538e7caa581a62087bec219abd1 (patch) | |
| tree | 1f90bdad6cc9726e32ac879b35196703e9a34d87 /src | |
| parent | 81899c9138d2412a6c9977cb6c47987ca622af27 (diff) | |
| download | emacs-57b81a9f519a6538e7caa581a62087bec219abd1.tar.gz emacs-57b81a9f519a6538e7caa581a62087bec219abd1.zip | |
* lisp.h [REL_ALLOC]: Omit duplicate prototypes.
Only r_alloc_inhibit_buffer_relocation needed to be added;
the others were already declared.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/lisp.h | 10 |
2 files changed, 5 insertions, 9 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index b0b88a86e91..b87398fcbc1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | 2012-05-27 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2012-05-27 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * lisp.h [REL_ALLOC]: Omit duplicate prototypes. | ||
| 4 | Only r_alloc_inhibit_buffer_relocation needed to be added; | ||
| 5 | the others were already declared. | ||
| 6 | |||
| 3 | * bidi.c (bidi_mirror_char): Don't possibly truncate the integer | 7 | * bidi.c (bidi_mirror_char): Don't possibly truncate the integer |
| 4 | before checking whether it's out of range. Put the check inside | 8 | before checking whether it's out of range. Put the check inside |
| 5 | eassert. See | 9 | eassert. See |
diff --git a/src/lisp.h b/src/lisp.h index 522f7cec634..50c21915af1 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -2907,6 +2907,7 @@ extern void *r_alloc (void **, size_t); | |||
| 2907 | extern void r_alloc_free (void **); | 2907 | extern void r_alloc_free (void **); |
| 2908 | extern void *r_re_alloc (void **, size_t); | 2908 | extern void *r_re_alloc (void **, size_t); |
| 2909 | extern void r_alloc_reset_variable (void **, void **); | 2909 | extern void r_alloc_reset_variable (void **, void **); |
| 2910 | extern void r_alloc_inhibit_buffer_relocation (int); | ||
| 2910 | #endif | 2911 | #endif |
| 2911 | 2912 | ||
| 2912 | /* Defined in chartab.c */ | 2913 | /* Defined in chartab.c */ |
| @@ -3633,15 +3634,6 @@ void syms_of_dbusbind (void); | |||
| 3633 | /* Defined in msdos.c, w32.c */ | 3634 | /* Defined in msdos.c, w32.c */ |
| 3634 | extern char *emacs_root_dir (void); | 3635 | extern char *emacs_root_dir (void); |
| 3635 | #endif /* DOS_NT */ | 3636 | #endif /* DOS_NT */ |
| 3636 | |||
| 3637 | #ifdef REL_ALLOC | ||
| 3638 | /* Defined in ralloc.c */ | ||
| 3639 | extern void r_alloc_reset_variable (POINTER_TYPE **, POINTER_TYPE **); | ||
| 3640 | extern POINTER_TYPE *r_alloc (POINTER_TYPE **, size_t); | ||
| 3641 | extern POINTER_TYPE *r_re_alloc (POINTER_TYPE **, size_t); | ||
| 3642 | extern void r_alloc_free (POINTER_TYPE **ptr); | ||
| 3643 | extern void r_alloc_inhibit_buffer_relocation (int); | ||
| 3644 | #endif /* REL_ALLOC */ | ||
| 3645 | 3637 | ||
| 3646 | /* Nonzero means Emacs has already been initialized. | 3638 | /* Nonzero means Emacs has already been initialized. |
| 3647 | Used during startup to detect startup of dumped Emacs. */ | 3639 | Used during startup to detect startup of dumped Emacs. */ |