[CRIU] [PATCH] pstree: Add extern to "current" declaration
Andrei Vagin
avagin at virtuozzo.com
Sat Jun 3 04:40:21 MSK 2017
Applied, thanks!
On Fri, May 26, 2017 at 06:39:57PM +0300, Pavel Emelyanov wrote:
>
> 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
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu
More information about the CRIU
mailing list