[CRIU] [PATCH 1/2] image: Move image definitions to own file
Pavel Emelyanov
xemul at parallels.com
Tue Apr 23 12:52:44 EDT 2013
On 04/19/2013 12:15 PM, Cyrill Gorcunov wrote:
>
> To be able to reuse image constants (definitions)
> outside of crtools code I need them yank out to
> own image-defs.[c|h] files.
>
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
> Makefile.crtools | 1 +
> cr-show.c | 10 +++++
> image-defs.c | 77 +++++++++++++++++++++++++++++++++
> image.c | 77 ---------------------------------
> include/cr-show.h | 54 ++++++++++++++++++++++++
> include/crtools.h | 117 ---------------------------------------------------
> include/image-defs.h | 105 +++++++++++++++++++++++++++++++++++++++++++++
For this case -defs suffix sounds like "can't find proper name".
Plz, think again, maybe some better one exists.
Same for patch #2.
> include/image.h | 1 +
> 8 files changed, 248 insertions(+), 194 deletions(-)
> create mode 100644 image-defs.c
> create mode 100644 include/cr-show.h
> create mode 100644 include/image-defs.h
>
More information about the CRIU
mailing list