Remove header file inclusion guard from elf/get-dynamic-info.h
authorFlorian Weimer <fweimer@redhat.com>
Thu, 2 Mar 2017 16:28:41 +0000 (17:28 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 2 Mar 2017 16:28:41 +0000 (17:28 +0100)
This file is included multiple times, so the guard is harmful.
Fixes commit 9090848d0607e93fb08a1d68d9f263846ee33f02.

ChangeLog
elf/get-dynamic-info.h

index bed3bd1..56ef827 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 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>
+
        [BZ #21015]
        * manual/install.texi (Configuring and compiling): Document
        --enable-bind-now.
index 6413558..7525c3a 100644 (file)
@@ -16,8 +16,8 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-#ifndef _GET_DYNAMIC_INFO_H
-#define _GET_DYNAMIC_INFO_H 1
+/* This file is included multiple times and therefore lacks a header
+   file inclusion guard.  */
 
 #include <assert.h>
 #include <libc-diag.h>
@@ -182,5 +182,3 @@ elf_get_dynamic_info (struct link_map *l, ElfW(Dyn) *temp)
     info[DT_RPATH] = NULL;
 #endif
 }
-
-#endif /* get-dynamic-info.h */