This commit fixes this warning in api.c:
api.c:84:12: warning: duplicate ‘const’ declaration specifier
[-Wduplicate-decl-specifier]
84 | const char const *cgroup_strerror_codes[] = {
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
pthread_rwlock_t cg_mount_table_lock = PTHREAD_RWLOCK_INITIALIZER;
struct cg_mount_table_s cg_mount_table[CG_CONTROLLER_MAX];
-const char const *cgroup_strerror_codes[] = {
+const char * const cgroup_strerror_codes[] = {
"Cgroup is not compiled in",
"Cgroup is not mounted",
"Cgroup does not exist",