From 3115acd52e673e9ef51c8da87da454f9deab28ad Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sun, 26 Feb 2006 13:08:32 +0000 Subject: Move _lfs_64.h to include and adapt files --- libc/sysdeps/linux/common/_lfs_64.h | 29 ----------------------------- libc/sysdeps/linux/common/creat64.c | 2 +- libc/sysdeps/linux/common/getrlimit64.c | 2 +- libc/sysdeps/linux/common/mmap64.c | 2 +- libc/sysdeps/linux/common/setrlimit64.c | 2 +- 5 files changed, 4 insertions(+), 33 deletions(-) delete mode 100644 libc/sysdeps/linux/common/_lfs_64.h (limited to 'libc/sysdeps/linux') diff --git a/libc/sysdeps/linux/common/_lfs_64.h b/libc/sysdeps/linux/common/_lfs_64.h deleted file mode 100644 index 2d017b44e..000000000 --- a/libc/sysdeps/linux/common/_lfs_64.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (C) 2000-2006 Erik Andersen - * - * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. - */ -#include - -#ifdef __UCLIBC_HAS_LFS__ - -#if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS != 64 -#undef _FILE_OFFSET_BITS -#define _FILE_OFFSET_BITS 64 -#endif - -#ifndef __USE_LARGEFILE64 -# define __USE_LARGEFILE64 1 -#endif - -/* We absolutely do _NOT_ want interfaces silently - * * renamed under us or very bad things will happen... */ -#ifdef __USE_FILE_OFFSET64 -# undef __USE_FILE_OFFSET64 -#endif - -#else - -# error Don't include this header in files not built when LFS is disabled - -#endif diff --git a/libc/sysdeps/linux/common/creat64.c b/libc/sysdeps/linux/common/creat64.c index 3a176aa60..c1f250832 100644 --- a/libc/sysdeps/linux/common/creat64.c +++ b/libc/sysdeps/linux/common/creat64.c @@ -16,7 +16,7 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#include "_lfs_64.h" +#include <_lfs_64.h> #ifdef __UCLIBC_HAS_LFS__ #include diff --git a/libc/sysdeps/linux/common/getrlimit64.c b/libc/sysdeps/linux/common/getrlimit64.c index 8280cb775..ca7aa7310 100644 --- a/libc/sysdeps/linux/common/getrlimit64.c +++ b/libc/sysdeps/linux/common/getrlimit64.c @@ -16,7 +16,7 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#include "_lfs_64.h" +#include <_lfs_64.h> #include #include diff --git a/libc/sysdeps/linux/common/mmap64.c b/libc/sysdeps/linux/common/mmap64.c index a0e04d5b1..2cf200dc9 100644 --- a/libc/sysdeps/linux/common/mmap64.c +++ b/libc/sysdeps/linux/common/mmap64.c @@ -5,7 +5,7 @@ */ /* Massivly hacked up for uClibc by Erik Andersen */ -#include "_lfs_64.h" +#include <_lfs_64.h> #ifdef __UCLIBC_HAS_LFS__ diff --git a/libc/sysdeps/linux/common/setrlimit64.c b/libc/sysdeps/linux/common/setrlimit64.c index 14514b813..90b8eebd7 100644 --- a/libc/sysdeps/linux/common/setrlimit64.c +++ b/libc/sysdeps/linux/common/setrlimit64.c @@ -16,7 +16,7 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#include "_lfs_64.h" +#include <_lfs_64.h> #include #include -- cgit v1.2.3