summary refs log tree commit diff
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-06-27 00:01:37 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-06-27 00:01:37 +0530
commitb97c9ce50d5d004285fc43c3f99b27630a155c5f (patch)
tree1e00ac8fb2303ed467b57dc142c9cbe4f66216f6
parent741711156782780e56a97988178cfa33541070df (diff)
downloadglibc-b97c9ce50d5d004285fc43c3f99b27630a155c5f.tar.gz
glibc-b97c9ce50d5d004285fc43c3f99b27630a155c5f.tar.xz
glibc-b97c9ce50d5d004285fc43c3f99b27630a155c5f.zip
Remove unnecessary include in memmove_chk
This also has the side-effect of fixing a couple of Wundef warnings
raised from pagecopy.h.  The generated code is identical before and
after this patch.
-rw-r--r--ChangeLog2
-rw-r--r--debug/memmove_chk.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 506eaedee2..44f96bb30c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
+	* debug/memmove_chk.c: Remove pagecopy.h include.
+
 	* time/mktime.c (leapyear): Remove inline keyword.  The code is now
 	identical to gnulib mktime.
 
diff --git a/debug/memmove_chk.c b/debug/memmove_chk.c
index f8c4454462..10eb632ffe 100644
--- a/debug/memmove_chk.c
+++ b/debug/memmove_chk.c
@@ -20,7 +20,6 @@
 
 #include <string.h>
 #include <memcopy.h>
-#include <pagecopy.h>
 
 #ifndef MEMMOVE_CHK
 # define MEMMOVE_CHK __memmove_chk