[CRIU] [PATCH] rst: Mark post_prepare_cbs static
Pavel Emelyanov
xemul at virtuozzo.com
Thu Mar 24 05:57:00 PDT 2016
Signed-off-by: Pavel Emelyanov <xemul at virtuozzo.com>
---
criu/cr-restore.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/criu/cr-restore.c b/criu/cr-restore.c
index 1537a7c..8abbfbc 100644
--- a/criu/cr-restore.c
+++ b/criu/cr-restore.c
@@ -189,7 +189,7 @@ struct post_prepare_cb {
void *data;
};
-struct list_head post_prepare_cbs = LIST_HEAD_INIT(post_prepare_cbs);
+static struct list_head post_prepare_cbs = LIST_HEAD_INIT(post_prepare_cbs);
int add_post_prepare_cb(int (*actor)(void *data), void *data)
{
--
2.5.0
More information about the CRIU
mailing list