git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/branches/SYSCALL_SWITCH@710
94cd875c-1c1d-0410-91d2-
eb244daf1a30
#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);
}
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.