Remove header file inclusion guard from elf/get-dynamic-info.h

This file is included multiple times, so the guard is harmful.
Fixes commit 9090848d06.
This commit is contained in:
Florian Weimer 2017-03-02 17:28:41 +01:00
parent 2d6ab5df3b
commit a10e9c4e53
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2017-03-02 Florian Weimer <fweimer@redhat.com>
* elf/get-dynamic-info.h: Remove header file inclusion guard.
2017-03-02 Florian Weimer <fweimer@redhat.com> 2017-03-02 Florian Weimer <fweimer@redhat.com>
[BZ #21015] [BZ #21015]

View File

@ -16,8 +16,8 @@
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <http://www.gnu.org/licenses/>. */
#ifndef _GET_DYNAMIC_INFO_H /* This file is included multiple times and therefore lacks a header
#define _GET_DYNAMIC_INFO_H 1 file inclusion guard. */
#include <assert.h> #include <assert.h>
#include <libc-diag.h> #include <libc-diag.h>
@ -182,5 +182,3 @@ elf_get_dynamic_info (struct link_map *l, ElfW(Dyn) *temp)
info[DT_RPATH] = NULL; info[DT_RPATH] = NULL;
#endif #endif
} }
#endif /* get-dynamic-info.h */