mirror of
https://github.com/troglobit/finit.git
synced 2026-10-29 12:40:44 +00:00
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:
1 parent
522a06f864
commit
00b33fbd42
3 files changed
+8
-8
No files matched your search
+1
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user