summaryrefslogtreecommitdiffstats
path: root/src/libcgroup-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcgroup-internal.h')
-rw-r--r--src/libcgroup-internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcgroup-internal.h b/src/libcgroup-internal.h
index 722bc65..d9838e9 100644
--- a/src/libcgroup-internal.h
+++ b/src/libcgroup-internal.h
@@ -143,8 +143,8 @@ struct cgroup *create_cgroup_from_name_value_pairs(const char *name,
/*
* Main mounting structures
*/
-struct cg_mount_table_s cg_mount_table[CG_CONTROLLER_MAX];
-static pthread_rwlock_t cg_mount_table_lock = PTHREAD_RWLOCK_INITIALIZER;
+extern struct cg_mount_table_s cg_mount_table[CG_CONTROLLER_MAX];
+extern pthread_rwlock_t cg_mount_table_lock;
/*
* config related structures