From f37aeefc62fb12d7e56516d21c3385341f8ce223 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Fri, 27 Jan 2006 21:26:40 +0000 Subject: Do not build *64 and llseek, correct some failure when LFS is disabled --- libc/stdio/fseeko.c | 2 ++ libc/stdio/ftello.c | 2 ++ 2 files changed, 4 insertions(+) (limited to 'libc/stdio') diff --git a/libc/stdio/fseeko.c b/libc/stdio/fseeko.c index 74a9e3c3a..f63ebad4e 100644 --- a/libc/stdio/fseeko.c +++ b/libc/stdio/fseeko.c @@ -16,7 +16,9 @@ # define OFFSET_TYPE long int #endif +#ifdef __UCLIBC_HAS_LFS__ libc_hidden_proto(fseeko64) +#endif libc_hidden_proto(fseek) int FSEEK(register FILE *stream, OFFSET_TYPE offset, int whence) diff --git a/libc/stdio/ftello.c b/libc/stdio/ftello.c index 2b9da8a6b..4445471a4 100644 --- a/libc/stdio/ftello.c +++ b/libc/stdio/ftello.c @@ -7,7 +7,9 @@ #include "_stdio.h" +#ifdef __UCLIBC_HAS_LFS__ libc_hidden_proto(ftello64) +#endif libc_hidden_proto(ftell) #ifndef __DO_LARGEFILE -- cgit v1.2.3