merged with 0.28
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Thu, 29 Jan 2004 11:00:41 +0000 (11:00 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Thu, 29 Jan 2004 11:00:41 +0000 (11:00 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@720 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/lib/ext2fs.h
util-vserver/lib/getversion.c
util-vserver/lib/vserver.h

index 6213185..1102310 100644 (file)
@@ -19,9 +19,9 @@
 #ifndef H_UTIL_VSERVER_SRC_EXT2FS_H
 #define H_UTIL_VSERVER_SRC_EXT2FS_H
 
-#ifdef HAVE_EXT2FS_EXT2FS_H
-#  include <ext2fs/ext2fs.h>
-#elif defined(HAVE_LINUX_EXT2_FS_H)
+#ifdef ENSC_HAVE_EXT2FS_EXT2_FS_H
+#  include <ext2fs/ext2_fs.h>
+#elif defined(ENSC_HAVE_LINUX_EXT2_FS_H)
 #  include <linux/ext2_fs.h>
 #else
 #  error Do not know how to include <ext2_fs.h>
index a010157..4234d83 100644 (file)
@@ -24,7 +24,7 @@
 #include "getversion-internal.hc"
 
 int
-vc_get_version(int cat)
+vc_get_version()
 {
-  return vc_get_version_internal(cat);
+  return vc_get_version_internal(VC_CAT_COMPAT);
 }
index 6938f45..6af871a 100644 (file)
@@ -118,8 +118,8 @@ extern "C" {
     uint32_t   mask;
   };
 
-    /** Returns version of the given API-category */
-  int  vc_get_version(int category);
+    /** Returns the version of the current kernel API. */
+  int  vc_get_version();
   
     /** Puts current process into context <ctx>, removes the given caps and
      *  sets flags.