summary refs log tree commit diff
path: root/time/mktime.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-06-18 02:31:11 +0000
committerUlrich Drepper <drepper@redhat.com>2005-06-18 02:31:11 +0000
commit9b5204dd2c8e0ba27b0eb950d325752fff46cb5b (patch)
treec975931a4149863d385a4395bc568b817b2753ba /time/mktime.c
parent0d9a071b205046dacce94b1074896489157feb68 (diff)
downloadglibc-9b5204dd2c8e0ba27b0eb950d325752fff46cb5b.tar.gz
glibc-9b5204dd2c8e0ba27b0eb950d325752fff46cb5b.tar.xz
glibc-9b5204dd2c8e0ba27b0eb950d325752fff46cb5b.zip
* time/mktime.c: Always include <string.h> for prototype of
	implicitly used memcpy.

	* sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
	(truncate64): Use __truncate, not truncate.
	(__have_no_truncate64): Renamed from have_no_truncate64.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
	(__have_no_truncate64): Renamed from have_no_truncate64.
Diffstat (limited to 'time/mktime.c')
-rw-r--r--time/mktime.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/time/mktime.c b/time/mktime.c
index 79221b8a74..258eec637b 100644
--- a/time/mktime.c
+++ b/time/mktime.c
@@ -38,10 +38,11 @@
 
 #include <limits.h>
 
+#include <string.h>		/* For the real memcpy prototype.  */
+
 #if DEBUG
 # include <stdio.h>
 # include <stdlib.h>
-# include <string.h>
 /* Make it work even if the system's libc has its own mktime routine.  */
 # define mktime my_mktime
 #endif /* DEBUG */