diff --git a/criu/cr-restore.c b/criu/cr-restore.c index 2ba0d3855..3c1c3d7ec 100644 --- a/criu/cr-restore.c +++ b/criu/cr-restore.c @@ -186,7 +186,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) {