diff options
author | Ulrich Drepper <drepper@redhat.com> | 2005-06-18 02:31:11 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2005-06-18 02:31:11 +0000 |
commit | 9b5204dd2c8e0ba27b0eb950d325752fff46cb5b (patch) | |
tree | c975931a4149863d385a4395bc568b817b2753ba /time | |
parent | 0d9a071b205046dacce94b1074896489157feb68 (diff) | |
download | glibc-9b5204dd2c8e0ba27b0eb950d325752fff46cb5b.tar.gz |
* 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')
-rw-r--r-- | time/mktime.c | 3 |
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 */ |