sendKillSequence(): added
[util-vserver.git] / util-vserver / lib / getvserverbyctx.c
index 5c0be0a..5759f1c 100644 (file)
 #include "vserver.h"
 #include "internal.h"
 #include "pathconfig.h"
+#include "compat-c99.h"
 
 #include <string.h>
 #include <unistd.h>
 
 char *
-vc_getVserverByCtx(ctx_t ctx, vcCfgStyle *style, char const *revdir)
+vc_getVserverByCtx(xid_t ctx, vcCfgStyle *style, char const *revdir)
 {
   if (revdir==0) revdir = DEFAULT_PKGSTATEREVDIR;
 
+  BS;
   vcCfgStyle   cur_style = vcCFG_NONE;
   size_t       l = strlen(revdir);
   size_t       l1;
@@ -61,4 +63,5 @@ vc_getVserverByCtx(ctx_t ctx, vcCfgStyle *style, char const *revdir)
     default            :
       return 0;
   }
+  BE;
 }