[CRIU] [PATCH] pstree: Add extern to "current" declaration

Pavel Emelyanov xemul at virtuozzo.com
Fri May 26 08:39:57 PDT 2017


Signed-off-by: Pavel Emelyanov <xemul at virtuozzo.com>
---
 criu/include/pstree.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/criu/include/pstree.h b/criu/include/pstree.h
index 892a1cd..7df92db 100644
--- a/criu/include/pstree.h
+++ b/criu/include/pstree.h
@@ -45,7 +45,7 @@ enum {
 };
 #define FDS_EVENT (1 << FDS_EVENT_BIT)
 
-struct pstree_item *current;
+extern struct pstree_item *current;
 
 struct rst_info;
 /* See alloc_pstree_item() for details */
-- 
2.1.4


More information about the CRIU mailing list