Remove unnecessary include in memmove_chk
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Thu, 26 Jun 2014 18:31:37 +0000 (00:01 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Thu, 26 Jun 2014 18:31:37 +0000 (00:01 +0530)
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.

ChangeLog
debug/memmove_chk.c

index 506eaed..44f96bb 100644 (file)
--- 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.
 
index f8c4454..10eb632 100644 (file)
@@ -20,7 +20,6 @@
 
 #include <string.h>
 #include <memcopy.h>
-#include <pagecopy.h>
 
 #ifndef MEMMOVE_CHK
 # define MEMMOVE_CHK __memmove_chk