merge with 0.30.213
[util-vserver.git] / lib / getversion-internal.hc
index 1112fbf..5d17586 100644 (file)
@@ -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 <enrico.scholz@informatik.tu-chemnitz.de>
 //  
 #ifdef HAVE_CONFIG_H
 #  include <config.h>
 #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