From mboxrd@z Thu Jan 1 00:00:00 1970 From: Prasad Joshi Subject: [PATCH] kvm tool: Remove the __stringify* defination from the util.h Date: Fri, 15 Apr 2011 20:43:45 +0100 Message-ID: <1302896625-11041-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]:37667 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750707Ab1DOTnf (ORCPT ); Fri, 15 Apr 2011 15:43:35 -0400 Received: by wya21 with SMTP id 21so2520535wya.19 for ; Fri, 15 Apr 2011 12:43:34 -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..c308f3f 100644 --- a/tools/kvm/include/kvm/util.h +++ b/tools/kvm/include/kvm/util.h @@ -1,3 +1,5 @@ +#include "../../../../include/linux/stringify.h" + #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