From: Prasad Joshi Subject: [PATCH v3] kvm tool: Remove the __stringify*() defination from util.h Date: Sat, 16 Apr 2011 12:15:06 +0100 Message-ID: <1302952506-13484-1-git-send-email-prasadjoshi124@gmail.com> Cc: mingo@elte.hu, kvm@vger.kernel.org, penberg@kernel.org, asias.hejun@gmail.com, gorcunov@gmail.com, levinsasha928@gmail.com, chaitanyakulkarni15@gmail.com To: prasadjoshi124@gmail.com Return-path: Received: from mail-wy0-f174.google.com ([74.125.82.174]:54809 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759277Ab1DPLOz (ORCPT ); Sat, 16 Apr 2011 07:14:55 -0400 Received: by wya21 with SMTP id 21so2831138wya.19 for ; Sat, 16 Apr 2011 04:14:54 -0700 (PDT) Sender: kvm-owner@vger.kernel.org List-ID: Include the Linux kernel header file linux/stringify.h file instead of redefining the __stringify* macros Signed-off-by: Prasad Joshi --- tools/kvm/include/kvm/util.h | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/kvm/include/kvm/util.h b/tools/kvm/include/kvm/util.h index ae033cc..fc222c3 100644 --- a/tools/kvm/include/kvm/util.h +++ b/tools/kvm/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))); -- 1.7.1