1
Fork 0
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:
Paul Eggert 2016-01-30 14:20:56 -08:00
parent d6585a910e
commit 384ffef643

View file

@ -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