]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
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 bed3bd1e5c7b3cb2191e9d002568acd035992791..56ef82760da2bda98d6d06fd54c4bdaf2544bddb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        [BZ #21015]
index 641355897511a0c184dc01804f6f3f7bb7442cee..7525c3a5b20b5619aeda35b5f7b9849f9dfcad39 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 */