From a8349b33e564f7faa83341cb1fa58466b0589ae9 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Wed, 9 Nov 2005 15:42:07 +0100 Subject: remove our own copy of klibc Signed-off-by: Kay Sievers --- klibc/include/fcntl.h | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 klibc/include/fcntl.h (limited to 'klibc/include/fcntl.h') diff --git a/klibc/include/fcntl.h b/klibc/include/fcntl.h deleted file mode 100644 index c9650f76b5..0000000000 --- a/klibc/include/fcntl.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * fcntl.h - */ - -#ifndef _FCNTL_H -#define _FCNTL_H - -#include -#include -#include -#if defined(__mips__) && !defined(__mips64__) -# include -#endif -#include - -/* This is ugly, but "struct flock" has actually been defined with - a long off_t, so it's really "struct flock64". It just happens - to work. Gag. Barf. - - This happens to work on all 32-bit architectures except MIPS. */ - -#ifdef F_GETLK64 -# undef F_GETLK -# define F_GETLK F_GETLK64 -#endif - -#ifdef F_SETLK64 -# undef F_SETLK -# define F_SETLK F_SETLK64 -#endif - -#ifdef F_SETLKW64 -# undef F_SETLKW -# define F_SETLKW F_SETLKW64 -#endif - -/* This is defined here as well as in since old-style code - would still include when using open(), and open() being - a varadic function changes its calling convention on some architectures. */ -#ifndef _KLIBC_IN_OPEN_C -__extern int open(const char *, int, ...); -#endif - -__extern int fcntl(int, int, ...); - -#endif /* _FCNTL_H */ -- cgit v1.2.3-54-g00ecf