summaryrefslogtreecommitdiff
path: root/libc/stdio
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-27 21:26:40 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-27 21:26:40 +0000
commitf37aeefc62fb12d7e56516d21c3385341f8ce223 (patch)
tree378cc08c6b8fbd5714e81e7fe814b9751bed4d4d /libc/stdio
parent0934f142036f12292711770d353f1c01ab718db7 (diff)
Do not build *64 and llseek, correct some failure when LFS is disabled
Diffstat (limited to 'libc/stdio')
-rw-r--r--libc/stdio/fseeko.c2
-rw-r--r--libc/stdio/ftello.c2
2 files changed, 4 insertions, 0 deletions
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