[CRIU] [PATCH 1/2] version: Define version as a macro

Cyrill Gorcunov gorcunov at openvz.org
Fri Sep 13 11:35:41 EDT 2013


Defining it as static char is a bad idea especially
if it get included and never used -- we will get
"unused" variable error.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 crtools.c                | 2 +-
 lib/criu.c               | 2 +-
 scripts/Makefile.version | 4 +---
 3 files changed, 3 insertions(+), 5 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-version-Define-version-as-a-macro.patch
Type: text/x-patch
Size: 1451 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130913/c76d2d1f/attachment.bin>


More information about the CRIU mailing list