diff options
author | Jan Safranek <jsafrane@redhat.com> | 2010-03-12 16:50:01 +0100 |
---|---|---|
committer | Dhaval Giani <dhaval.giani@gmail.com> | 2010-03-21 22:02:01 +0100 |
commit | 68c9dbc15487300f1e266b4eecff2922323dcb90 (patch) | |
tree | 8090643b1e4881075f6d43c74cd2147f50429e8e | |
parent | 8831ca690cc970716953f73b206f258ff198711f (diff) | |
download | libcg-68c9dbc15487300f1e266b4eecff2922323dcb90.tar.gz libcg-68c9dbc15487300f1e266b4eecff2922323dcb90.tar.xz libcg-68c9dbc15487300f1e266b4eecff2922323dcb90.zip |
Anonymize error enum
The enum with ECG* error codes should be anonymous, as pointed out by
Lennart Poettering.
Signed-off-by: Jan Safranek <jsafrane@redhat.com>
Signed-off-by: Dhaval Giani <dhaval.giani@gmail.com>
-rw-r--r-- | include/libcgroup.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libcgroup.h b/include/libcgroup.h index 2cac820..b5d7a42 100644 --- a/include/libcgroup.h +++ b/include/libcgroup.h @@ -47,7 +47,7 @@ enum cgflags { CGFLAG_USECACHE = 0x01, }; -enum cgroup_errors { +enum { ECGROUPNOTCOMPILED=50000, ECGROUPNOTMOUNTED, ECGROUPNOTEXIST, |