[CRIU] [PATCH 05/32] tools: cpt2 - Add bare entry routine

Pavel Emelyanov xemul at parallels.com
Mon Apr 1 05:45:31 EDT 2013


On 03/31/2013 01:42 AM, Cyrill Gorcunov wrote:
> 
> Introduce main() routine which does nothing but
> reports "usage message" if no command line option
> provided.
> 
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
>  tools/cpt2/src/Makefile           |   7 ++
>  tools/cpt2/src/include/compiler.h | 143 ++++++++++++++++++++++++++++++++++++++
>  tools/cpt2/src/include/cpt2.h     |  17 +++++
>  tools/cpt2/src/include/log.h      |  54 ++++++++++++++

I'm not happy with copying headers from crtools/include.

>  tools/cpt2/src/main.c             |  78 +++++++++++++++++++++
>  5 files changed, 299 insertions(+)
>  create mode 100644 tools/cpt2/src/Makefile
>  create mode 100644 tools/cpt2/src/include/compiler.h
>  create mode 100644 tools/cpt2/src/include/cpt2.h
>  create mode 100644 tools/cpt2/src/include/log.h
>  create mode 100644 tools/cpt2/src/main.c
> 




More information about the CRIU mailing list