Avoid using C++ key words

"protected" is a C++ key word, replace it with "is_protected" avoid
compiling failures with C++ compiler.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
This commit is contained in:
Ming Liu committed 2021-08-29 10:35:08 +02:00
1 parent 522a06f864
commit 00b33fbd42
3 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@ struct cgroup {
void cgroup_mark_all(void);
void cgroup_cleanup (void);
int cgroup_add (char *name, char *cfg, int protected);
int cgroup_add (char *name, char *cfg, int is_protected);
int cgroup_del (char *dir);
void cgroup_config (void);