[CRIU] [PATCH 1/2] plugin: Beautify criu-plugin.h

Andrew Vagin avagin at parallels.com
Wed Aug 13 07:31:08 PDT 2014


On Thu, Aug 07, 2014 at 11:40:28PM +0400, Cyrill Gorcunov wrote:
> 
>  - use custom multiline comments style
>  - ending #endif comment
>

Acked-by: Andrew Vagin <avagin at parallels.com>
 
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
>  include/criu-plugin.h | 34 +++++++++++++++++-----------------
>  1 file changed, 17 insertions(+), 17 deletions(-)
> 

> diff --git a/include/criu-plugin.h b/include/criu-plugin.h
> index 3e0fd414be3b..cda8c8eb98e6 100644
> --- a/include/criu-plugin.h
> +++ b/include/criu-plugin.h
> @@ -1,20 +1,20 @@
>  /*
> -    This file defines types and macros for CRIU plugins.
> -    Copyright (C) 2013 Parallels, Inc
> -
> -    This program is free software; you can redistribute it and/or modify
> -    it under the terms of the GNU General Public License as published by
> -    the Free Software Foundation; either version 2 of the License, or
> -    (at your option) any later version.
> -
> -    This program is distributed in the hope that it will be useful,
> -    but WITHOUT ANY WARRANTY; without even the implied warranty of
> -    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> -    GNU General Public License for more details.
> -
> -    You should have received a copy of the GNU General Public License
> -    along with this program; if not, write to the Free Software
> -    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
> + *  This file defines types and macros for CRIU plugins.
> + *  Copyright (C) 2013-2014 Parallels, Inc
> + *
> + *  This program is free software; you can redistribute it and/or modify
> + *  it under the terms of the GNU General Public License as published by
> + *  the Free Software Foundation; either version 2 of the License, or
> + *  (at your option) any later version.
> + *
> + *  This program is distributed in the hope that it will be useful,
> + *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> + *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> + *  GNU General Public License for more details.
> + *
> + *  You should have received a copy of the GNU General Public License
> + *  along with this program; if not, write to the Free Software
> + *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
>   */
>  
>  #ifndef __CRIU_PLUGIN_H__
> @@ -40,4 +40,4 @@ typedef int (cr_plugin_dump_ext_link_t)(int index, int type, char *kind);
>  /* Public API */
>  extern int criu_get_image_dir(void);
>  
> -#endif
> +#endif /* __CRIU_PLUGIN_H__ */



More information about the CRIU mailing list