diff options
| author | Wolfgang Jenkner | 2016-01-30 14:20:55 -0800 |
|---|---|---|
| committer | Paul Eggert | 2016-01-30 15:26:06 -0800 |
| commit | cb22fce283e3852ea33a09f40707cf0c004c717e (patch) | |
| tree | f5d16201ab6b8afa06401a7b9e7d2d3deadc225e /src/buffer.c | |
| parent | 935b4d0ce4b1f03dedd276548fd506bea1f0c0fd (diff) | |
| download | emacs-cb22fce283e3852ea33a09f40707cf0c004c717e.tar.gz emacs-cb22fce283e3852ea33a09f40707cf0c004c717e.zip | |
Internal linkage for gmalloc etc. if HYBRID_MALLOC
This avoids clashes with symbols if the after-dump malloc is
derived from Doug Lea's implementation (Bug#22086).
* src/gmalloc.c (emacs_abort, __morecore, __default_morecore):
Move declarations up. For HYBRID_MALLOC, turn all `extern'
declarations below to `static' ones.
(aligned_alloc): Declare for !MSDOS as well.
(heapsize, _fraghead): Move resp. copy declaration downwards.
For HYBRID_MALLOC, conditionalize out the other definitions,
since the previous `static' declarations double as tentative
definitions, anyway.
(_malloc, _free, _realloc, __free_hook, _aligned_blocks)
(__realloc_hook, __memalign_hook): Conditionalize out.
(cfree, memalign, valloc): Ditto.
Diffstat (limited to 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions