summaryrefslogtreecommitdiffstats
path: root/include/libcgroup.h
diff options
context:
space:
mode:
authorJan Safranek <jsafrane@redhat.com>2010-03-08 12:46:04 +0100
committerDhaval Giani <dhaval.giani@gmail.com>2010-03-08 15:02:35 +0100
commitbd25620e502f6bc5f45705602eaf1c6530f70b97 (patch)
tree3959cfa19294379ef94deb04e97db127af34bf4d /include/libcgroup.h
parent794b7a1c93515115359682ba2f7c6ecb1ca7586a (diff)
downloadlibcg-bd25620e502f6bc5f45705602eaf1c6530f70b97.tar.gz
libcg-bd25620e502f6bc5f45705602eaf1c6530f70b97.tar.xz
libcg-bd25620e502f6bc5f45705602eaf1c6530f70b97.zip
Remove last_errno from public header
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>
Diffstat (limited to 'include/libcgroup.h')
-rw-r--r--include/libcgroup.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/libcgroup.h b/include/libcgroup.h
index 8a24bf7..6a262e2 100644
--- a/include/libcgroup.h
+++ b/include/libcgroup.h
@@ -47,11 +47,6 @@ enum cgflags {
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,