vc_get_version(): removed 'int cat' parameter
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Mon, 26 Jan 2004 18:19:41 +0000 (18:19 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Mon, 26 Jan 2004 18:19:41 +0000 (18:19 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/branches/SYSCALL_SWITCH@710 94cd875c-1c1d-0410-91d2-eb244daf1a30

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

index bbdb513..bfa2a62 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 34cf8d4..23e66fe 100644 (file)
@@ -43,8 +43,8 @@ extern "C" {
     uint32_t   mask;
   };
 
-    /** Returns version of the given API-category */
-  int  vc_get_version(int category);
+    /** Returns version of the current kernel API */
+  int  vc_get_version();
   
     /** Puts current process into context <ctx>, removes the given caps and
      *  sets flags.