cleanups; fixed/changed "vserver-internal.h" including
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Wed, 21 Jan 2004 18:53:22 +0000 (18:53 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Wed, 21 Jan 2004 18:53:22 +0000 (18:53 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@669 94cd875c-1c1d-0410-91d2-eb244daf1a30

13 files changed:
util-vserver/lib/checkversion.c
util-vserver/lib/getversion-internal.hc
util-vserver/lib/getversion.c
util-vserver/lib/ioctl-getext2flags.hc
util-vserver/lib/ioctl-getfilecontext.hc
util-vserver/lib/ioctl-getxflg.hc
util-vserver/lib/ioctl-setext2flags.hc
util-vserver/lib/ioctl-setfilecontext.hc
util-vserver/lib/ioctl-setxflg.hc
util-vserver/lib/syscall-compat.hc
util-vserver/lib/syscall.c
util-vserver/lib/syscall_getiattr-v13.hc
util-vserver/lib/syscall_setiattr-v13.hc

index 0034dc9..4180b2f 100644 (file)
@@ -19,9 +19,9 @@
 #ifdef HAVE_CONFIG_H
 #  include <config.h>
 #endif
-#include "compat.h"
 
 #include "vserver.h"
+#include "vserver-internal.h"
 #include "getversion-internal.hc"
 
 int
index 4706b0c..0e9c843 100644 (file)
@@ -23,8 +23,6 @@
 #  include <config.h>
 #endif
 
-#include "vserver-internal.h"
-
 #define _LINUX_TYPES_H 1
 #include "linuxvirtual.h"
 
index bbdb513..a010157 100644 (file)
@@ -19,8 +19,8 @@
 #ifdef HAVE_CONFIG_H
 #  include <config.h>
 #endif
-#include "compat.h"
 
+#include "vserver-internal.h"
 #include "getversion-internal.hc"
 
 int
index 1e79f04..4d56f90 100644 (file)
@@ -21,7 +21,6 @@
 #endif
 
 #include "vserver.h"
-#include "vserver-internal.h"
 #include "ext2fs.h"
 
 #include <sys/ioctl.h>
index 0adbfa4..6426466 100644 (file)
@@ -21,7 +21,6 @@
 #endif
 
 #include "vserver.h"
-#include "vserver-internal.h"
 #include "ext2fs.h"
 
 #include <sys/ioctl.h>
index 3d50c6f..3ea109a 100644 (file)
@@ -21,7 +21,6 @@
 #endif
 
 #include "vserver.h"
-#include "vserver-internal.h"
 #include "ext2fs.h"
 
 #include <sys/ioctl.h>
index cdbb88c..d5d7323 100644 (file)
@@ -21,7 +21,6 @@
 #endif
 
 #include "vserver.h"
-#include "vserver-internal.h"
 #include "ext2fs.h"
 
 #include <sys/ioctl.h>
index 3e0476d..e846c12 100644 (file)
@@ -21,7 +21,6 @@
 #endif
 
 #include "vserver.h"
-#include "vserver-internal.h"
 #include "ext2fs.h"
 
 #include <sys/ioctl.h>
index 6563136..7224d11 100644 (file)
@@ -21,7 +21,6 @@
 #endif
 
 #include "vserver.h"
-#include "vserver-internal.h"
 #include "ext2fs.h"
 
 #include <sys/ioctl.h>
index fb07d4d..6279d0a 100644 (file)
@@ -22,9 +22,7 @@
 #include "compat.h"
 
 #include "safechroot-internal.hc"
-
 #include "vserver.h"
-#include "vserver-internal.h"
 
 #include <unistd.h>
 
index 52134c8..de3f92e 100644 (file)
 
 #include "compat.h"
 #include "vserver.h"
-#include "vserver-internal.h"
 #include "internal.h"
 
 #define _LINUX_TYPES_H 1
 #include "linuxvirtual.h"
 
+#if defined(VC_ENABLE_API_COMPAT) && defined(VC_ENABLE_API_LEGACY)
+#  define VC_MULTIVERSION_SYSCALL      1
+#endif
+#include "vserver-internal.h"
+
 #ifdef VC_ENABLE_API_COMPAT    
 #  include "syscall-compat.hc"
 #endif
@@ -40,6 +44,7 @@
 #include <stdbool.h>
 #include <errno.h>
 
+
 #if defined(VC_ENABLE_API_COMPAT) || defined(VC_ENABLE_API_LEGACY)
 
 int
index efdeff3..3c514c4 100644 (file)
@@ -21,7 +21,6 @@
 #endif
 
 #include "vserver.h"
-#include "vserver-internal.h"
 
 static inline ALWAYSINLINE int
 vc_get_iattr_v13(dev_t dev, ino_t ino, xid_t *xid,
index 32768e7..7143040 100644 (file)
@@ -21,7 +21,6 @@
 #endif
 
 #include "vserver.h"
-#include "vserver-internal.h"
 
 static inline ALWAYSINLINE int
 vc_set_iattr_v13(dev_t dev, ino_t ino, xid_t xid,  uint32_t flags, uint32_t mask)