aboutsummaryrefslogtreecommitdiff
path: root/debug
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-07-03 01:28:45 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-07-03 01:49:43 +0530
commit99f8dc922033821edcc13f9f8360e9fda40dfcff (patch)
tree50c567b703247e62945dbe084c754c149f38ba9e /debug
parentbc8ea38590070604006399e42469087e943fc8ec (diff)
downloadglibc-99f8dc922033821edcc13f9f8360e9fda40dfcff.zip
glibc-99f8dc922033821edcc13f9f8360e9fda40dfcff.tar.gz
glibc-99f8dc922033821edcc13f9f8360e9fda40dfcff.tar.bz2
Fix -Wundef warning on PAGE_COPY_THRESHOLD
The PAGE_COPY_THRESHOLD macro is meant to be overridden by architecture-specific pagecopy.h, but it is currently done only by mach; all other architectures use the default. Check to see if the macro is defined in addition to whether it is set to a non-zero value.
Diffstat (limited to 'debug')
-rw-r--r--debug/memcpy_chk.c1
-rw-r--r--debug/mempcpy_chk.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/debug/memcpy_chk.c b/debug/memcpy_chk.c
index 9bf5d9f..539b7e2 100644
--- a/debug/memcpy_chk.c
+++ b/debug/memcpy_chk.c
@@ -20,7 +20,6 @@
#include <string.h>
#include <memcopy.h>
-#include <pagecopy.h>
void *
__memcpy_chk (dstpp, srcpp, len, dstlen)
diff --git a/debug/mempcpy_chk.c b/debug/mempcpy_chk.c
index 105356f..3ca916b 100644
--- a/debug/mempcpy_chk.c
+++ b/debug/mempcpy_chk.c
@@ -21,7 +21,6 @@
#include <string.h>
#include <memcopy.h>
-#include <pagecopy.h>
void *
__mempcpy_chk (dstpp, srcpp, len, dstlen)