From patchwork Sat Apr 16 10:44:56 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Prasad Joshi X-Patchwork-Id: 712321 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p3GAj0cu020836 for ; Sat, 16 Apr 2011 10:45:01 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759276Ab1DPKoq (ORCPT ); Sat, 16 Apr 2011 06:44:46 -0400 Received: from mail-wy0-f174.google.com ([74.125.82.174]:54968 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759154Ab1DPKoq (ORCPT ); Sat, 16 Apr 2011 06:44:46 -0400 Received: by wya21 with SMTP id 21so2820271wya.19 for ; Sat, 16 Apr 2011 03:44:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer; bh=MQh3Aa/+HJQQeC0dMCz/xQRJGw5edHDnWz6d5Mil4p8=; b=N20gGMYgDnY1pvQU/L7BVYFUK3VM/bu8kLtilzdD40Miwl07tmSbyU3+ZTLV4oSAqu yztATjw868VN5NYld+JyrM/mEdI5CuqU2PMzbOB4WbzuT+TzwShN2xlAuikudT7abToF NoGXslFN2R107nmmnKZfjiYWKTxUM4zcPidKM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=Wbm2zTleR+NIBOB8KUZ8LEvXwG/pQUYNICCYhWcaXpXa2p4E/TM4qsAavpNQwYPuoK VyWJ+NSwlbOcYWsbMC97lVVwrfQeXWtgGCsV8a8lHuNBoUQODqBh3+zPTk/5BU3KM3rP Lli07dn7EzS9C1WK9UstBIJySIrMlPXJC6PDA= Received: by 10.227.54.11 with SMTP id o11mr2969417wbg.85.1302950684672; Sat, 16 Apr 2011 03:44:44 -0700 (PDT) Received: from prasad-kvm.localdomain (pineapple.rdg.ac.uk [134.225.206.123]) by mx.google.com with ESMTPS id ed10sm2102910wbb.66.2011.04.16.03.44.43 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 16 Apr 2011 03:44:44 -0700 (PDT) Received: by prasad-kvm.localdomain (Postfix, from userid 1000) id AC7C526E006E; Sat, 16 Apr 2011 11:44:57 +0100 (BST) From: Prasad Joshi To: 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 Subject: [PATCH v2] kvm tool: Remove the __stringify* defination from the util.h Date: Sat, 16 Apr 2011 11:44:56 +0100 Message-Id: <1302950696-12806-1-git-send-email-prasadjoshi124@gmail.com> X-Mailer: git-send-email 1.7.1 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Sat, 16 Apr 2011 10:45:01 +0000 (UTC) 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)));