From: Jan Safranek Date: Fri, 12 Mar 2010 15:50:01 +0000 (+0100) Subject: Anonymize error enum X-Git-Tag: v0.36.2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68c9dbc15487300f1e266b4eecff2922323dcb90;p=thirdparty%2Flibcgroup.git Anonymize error enum The enum with ECG* error codes should be anonymous, as pointed out by Lennart Poettering. Signed-off-by: Jan Safranek Signed-off-by: Dhaval Giani --- diff --git a/include/libcgroup.h b/include/libcgroup.h index 2cac8207..b5d7a429 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,