From ac600533164e83ed17c132dc1c30668aef02e7f3 Mon Sep 17 00:00:00 2001 From: Prasad Joshi Date: Sat, 16 Apr 2011 12:15:06 +0100 Subject: [PATCH] kvm tool: Remove the __stringify*() definition from util.h Include the Linux kernel header file linux/stringify.h file instead of redefining the __stringify* macros Signed-off-by: Prasad Joshi Signed-off-by: Pekka Enberg --- include/kvm/util.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/kvm/util.h b/include/kvm/util.h index ae033cc..fc222c3 100644 --- a/include/kvm/util.h +++ b/include/kvm/util.h @@ -1,3 +1,5 @@ +#include + #ifndef KVM__UTIL_H #define KVM__UTIL_H @@ -27,9 +29,6 @@ #endif #endif -#define __stringify_1(x) #x -#define __stringify(x) __stringify_1(x) - extern void die(const char *err, ...) NORETURN __attribute__((format (printf, 1, 2))); extern void die_perror(const char *s) NORETURN; extern int error(const char *err, ...) __attribute__((format (printf, 1, 2)));