summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/bits
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-11-27 22:31:25 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-11-27 22:32:11 +0100
commit74ca8d6f5d2e29bb7cf4606531313ee8c52b9eda (patch)
treeb2e5ad49c4499ca7c21a92e4d4c3e3aced7cb524 /libc/sysdeps/linux/common/bits
parentd9f4c6bb0568da6d80f60a0040354f45478f84a3 (diff)
remove UCLIBC_HAS_LFS
Diffstat (limited to 'libc/sysdeps/linux/common/bits')
-rw-r--r--libc/sysdeps/linux/common/bits/uClibc_posix_opt.h7
-rw-r--r--libc/sysdeps/linux/common/bits/uClibc_stdio.h6
2 files changed, 0 insertions, 13 deletions
diff --git a/libc/sysdeps/linux/common/bits/uClibc_posix_opt.h b/libc/sysdeps/linux/common/bits/uClibc_posix_opt.h
index 0ae0da188..6ec7da3de 100644
--- a/libc/sysdeps/linux/common/bits/uClibc_posix_opt.h
+++ b/libc/sysdeps/linux/common/bits/uClibc_posix_opt.h
@@ -110,13 +110,6 @@
# undef _POSIX_MEMORY_PROTECTION
#endif
-#ifndef __UCLIBC_HAS_LFS__
-# undef _LFS64_ASYNCHRONOUS_IO
-# undef _LFS_LARGEFILE
-# undef _LFS64_LARGEFILE
-# undef _LFS64_STDIO
-#endif
-
#ifndef __UCLIBC_HAS_REALTIME__
# undef _POSIX_SEMAPHORES
#endif
diff --git a/libc/sysdeps/linux/common/bits/uClibc_stdio.h b/libc/sysdeps/linux/common/bits/uClibc_stdio.h
index efd8a6c89..6222cebee 100644
--- a/libc/sysdeps/linux/common/bits/uClibc_stdio.h
+++ b/libc/sysdeps/linux/common/bits/uClibc_stdio.h
@@ -151,7 +151,6 @@ typedef struct {
#endif
} __STDIO_fpos_t;
-#ifdef __UCLIBC_HAS_LFS__
typedef struct {
__off64_t __pos;
#ifdef __STDIO_MBSTATE
@@ -161,14 +160,9 @@ typedef struct {
int __mblen_pending;
#endif
} __STDIO_fpos64_t;
-#endif
/**********************************************************************/
-#ifdef __UCLIBC_HAS_LFS__
typedef __off64_t __offmax_t; /* TODO -- rename this? */
-#else
-typedef __off_t __offmax_t; /* TODO -- rename this? */
-#endif
/**********************************************************************/
#ifdef __UCLIBC_HAS_GLIBC_CUSTOM_STREAMS__