From: Christian Brauner Date: Fri, 21 Sep 2018 14:50:24 +0000 (+0200) Subject: cgfsng: add missing __cgfsng_ops__ attributes X-Git-Tag: lxc-3.1.0~98^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2606%2Fhead;p=thirdparty%2Flxc.git cgfsng: add missing __cgfsng_ops__ attributes Signed-off-by: Christian Brauner --- diff --git a/src/lxc/cgroups/cgfsng.c b/src/lxc/cgroups/cgfsng.c index a0bde6c03..0f3296919 100644 --- a/src/lxc/cgroups/cgfsng.c +++ b/src/lxc/cgroups/cgfsng.c @@ -1256,8 +1256,8 @@ static void remove_path_for_hierarchy(struct hierarchy *h, char *cgname, bool mo h->container_full_path = NULL; } -static inline bool cgfsng_monitor_create(struct cgroup_ops *ops, - struct lxc_handler *handler) +__cgfsng_ops__ static inline bool cgfsng_monitor_create(struct cgroup_ops *ops, + struct lxc_handler *handler) { char *monitor_cgroup; bool bret = false; @@ -1402,7 +1402,7 @@ __cgfsng_ops__ static bool __do_cgroup_enter(struct cgroup_ops *ops, pid_t pid, return true; } -static bool cgfsng_monitor_enter(struct cgroup_ops *ops, pid_t pid) +__cgfsng_ops__ static bool cgfsng_monitor_enter(struct cgroup_ops *ops, pid_t pid) { return __do_cgroup_enter(ops, pid, true); }