summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko2009-07-08 02:58:38 +0200
committerDenys Vlasenko2009-07-08 02:58:38 +0200
commitda49f5852481adb0b3fa0b5ccba93b266f271c35 (patch)
tree3ab27dafe02a3723658ab2649e8b3ea28b024ac5 /include
parent95cc814dbd37a4cb5a69b5eac80bd3e5173fe908 (diff)
downloadbusybox-da49f5852481adb0b3fa0b5ccba93b266f271c35.zip
busybox-da49f5852481adb0b3fa0b5ccba93b266f271c35.tar.gz
move libc related stuff out of platform.h
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/platform.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/include/platform.h b/include/platform.h
index 99e747f..7c88d1b 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -342,49 +342,5 @@ static ALWAYS_INLINE char* strchrnul(const char *s, char c)
#endif
-#if defined(__linux__)
-# include <sys/mount.h>
-/* Make sure we have all the new mount flags we actually try to use. */
-# ifndef MS_BIND
-# define MS_BIND (1 << 12)
-# endif
-# ifndef MS_MOVE
-# define MS_MOVE (1 << 13)
-# endif
-# ifndef MS_RECURSIVE
-# define MS_RECURSIVE (1 << 14)
-# endif
-# ifndef MS_SILENT
-# define MS_SILENT (1 << 15)
-# endif
-/* The shared subtree stuff, which went in around 2.6.15. */
-# ifndef MS_UNBINDABLE
-# define MS_UNBINDABLE (1 << 17)
-# endif
-# ifndef MS_PRIVATE
-# define MS_PRIVATE (1 << 18)
-# endif
-# ifndef MS_SLAVE
-# define MS_SLAVE (1 << 19)
-# endif
-# ifndef MS_SHARED
-# define MS_SHARED (1 << 20)
-# endif
-# ifndef MS_RELATIME
-# define MS_RELATIME (1 << 21)
-# endif
-
-# if !defined(BLKSSZGET)
-# define BLKSSZGET _IO(0x12, 104)
-# endif
-# if !defined(BLKGETSIZE64)
-# define BLKGETSIZE64 _IOR(0x12,114,size_t)
-# endif
-#endif
-
-/* The field domainname of struct utsname is Linux specific. */
-#if !defined(__linux__)
-# define HAVE_NO_UTSNAME_DOMAINNAME
-#endif
#endif