mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-08 20:50:52 -08:00
Pacify GCC on extern decls
* src/unexelf.c (bss_sbrk_did_unexec): Move decl to top level to pacify recent GCC (Bug#22086).
This commit is contained in:
parent
d6585a910e
commit
384ffef643
1 changed files with 4 additions and 1 deletions
|
|
@ -211,6 +211,10 @@ entry_address (void *section_h, ptrdiff_t idx, ptrdiff_t entsize)
|
|||
|
||||
typedef unsigned char byte;
|
||||
|
||||
#ifdef HYBRID_MALLOC
|
||||
extern int bss_sbrk_did_unexec;
|
||||
#endif
|
||||
|
||||
/* ****************************************************************
|
||||
* unexec
|
||||
*
|
||||
|
|
@ -228,7 +232,6 @@ unexec (const char *new_name, const char *old_name)
|
|||
void *new_break;
|
||||
|
||||
#ifdef HYBRID_MALLOC
|
||||
extern int bss_sbrk_did_unexec;
|
||||
bss_sbrk_did_unexec = 1;
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue