Remove unused error code ECGSENTINEL - it was used for test whether error code is in valid interval, now it is unused.
Signed-off-by: Ivana Hutarova Varekova <varek...@redhat.com> --- include/libcgroup/error.h | 5 ----- src/api.c | 1 - 2 files changed, 0 insertions(+), 6 deletions(-) diff --git a/include/libcgroup/error.h b/include/libcgroup/error.h index 91b5c1c..4746349 100644 --- a/include/libcgroup/error.h +++ b/include/libcgroup/error.h @@ -59,11 +59,6 @@ enum { ECGROUPNORULES, ECGMOUNTFAIL, /** - * Not an real error, just a auxiliary mark in the enum. - * Please insert further error codes above this. - */ - ECGSENTINEL, - /** * Not an real error, it just indicates that iterator has come to end * of sequence and no more items are left. */ diff --git a/src/api.c b/src/api.c index c6e258e..793ccd3 100644 --- a/src/api.c +++ b/src/api.c @@ -110,7 +110,6 @@ const char const *cgroup_strerror_codes[] = { "Cgroup, rules file does not exist", "Cgroup mounting failed", "The config file can not be opened", - "Sentinel", "End of File or iterator", "Failed to parse config file", "Have multiple paths for the same namespace", ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel