X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fgetversion-internal.hc;h=5d1758639b868a2348d823ad1f18e12421dd1566;hb=refs%2Fheads%2Fscholz;hp=1112fbf9bdd0a51db4a7317f044dcfb3078b4172;hpb=96b9bc3416686cb4080beb8bda4283edaefafbe2;p=util-vserver.git diff --git a/lib/getversion-internal.hc b/lib/getversion-internal.hc index 1112fbf..5d17586 100644 --- a/lib/getversion-internal.hc +++ b/lib/getversion-internal.hc @@ -1,4 +1,4 @@ -// $Id: getversion-internal.hc,v 1.1.2.3 2003/12/26 00:16:48 uid68581 Exp $ --*- c++ -*-- +// $Id: getversion-internal.hc 2207 2005-10-29 10:31:42Z ensc $ --*- c++ -*-- // Copyright (C) 2003 Enrico Scholz // @@ -22,15 +22,14 @@ #ifdef HAVE_CONFIG_H # include #endif -#include "compat.h" -#include "vserver-internal.h" -#include "linuxvirtual.h" +#define _LINUX_TYPES_H 1 +#include "virtual.h" -static inline ALWAYSINLINE int +static inline ALWAYSINLINE UNUSED int vc_get_version_internal(int cat) { - return vserver(VC_CMD(VERSION, 0, 0), cat, 0); + return vserver(VCMD_get_version, cat, 0); } #endif // H_UTIL_VSERVER_LIB_GETVERSION_INTERNAL_H