Remove last_errno from public header, that's why we have cgroup_get_last_errno.
Signed-off-by: Jan Safranek <jsafrane@redhat.com>
Signed-off-by: Dhaval Giani <dhaval.giani@gmail.com>
CGFLAG_USECACHE = 0x01,
};
-/**
- * per thread errno variable, to be used when return code is ECGOTHER
- */
-extern __thread int last_errno;
-
enum cgroup_errors {
ECGROUPNOTCOMPILED=50000,
ECGROUPNOTMOUNTED,
int flags;
};
+/**
+ * per thread errno variable, to be used when return code is ECGOTHER
+ */
+extern __thread int last_errno;
/* Internal API */
char *cg_build_path(char *name, char *path, char *type);