From: Paul Eggert Date: Sun, 8 Nov 2015 17:36:14 +0000 (-0800) Subject: * src/unexelf.c (NEW_PROGRAM_H): Remove unused macro (Bug#20614). X-Git-Tag: emacs-25.0.90~872 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2ce0c0674eba9179ba57c537e387bc3f7b0e5b63;p=emacs.git * src/unexelf.c (NEW_PROGRAM_H): Remove unused macro (Bug#20614). --- diff --git a/src/unexelf.c b/src/unexelf.c index 85ed9340abf..c10c7f21bf2 100644 --- a/src/unexelf.c +++ b/src/unexelf.c @@ -208,8 +208,6 @@ entry_address (void *section_h, ptrdiff_t idx, ptrdiff_t entsize) (*(ElfW (Shdr) *) entry_address (new_section_h, n, new_file_h->e_shentsize)) #define OLD_PROGRAM_H(n) \ (*(ElfW (Phdr) *) entry_address (old_program_h, n, old_file_h->e_phentsize)) -#define NEW_PROGRAM_H(n) \ - (*(ElfW (Phdr) *) entry_address (new_program_h, n, new_file_h->e_phentsize)) typedef unsigned char byte; @@ -250,7 +248,7 @@ unexec (const char *new_name, const char *old_name) ElfW (Phdr) *old_bss_seg, *new_bss_seg; ElfW (Addr) old_bss_addr, new_bss_addr; ElfW (Word) old_bss_size, new_data2_size; - ElfW (Off) old_bss_offset, new_data2_offset; + ElfW (Off) old_bss_offset, new_data2_offset; ptrdiff_t n; ptrdiff_t old_bss_index;