From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16986 invoked by alias); 14 Mar 2010 20:32:50 -0000 Received: (qmail 16974 invoked by uid 22791); 14 Mar 2010 20:32:49 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 14 Mar 2010 20:32:45 +0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id EA1531B4009 for ; Sun, 14 Mar 2010 20:32:43 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Subject: [PATCH] sim: rename bool argument to avoid stdbool clash Date: Sun, 14 Mar 2010 20:32:00 -0000 Message-Id: <1268598861-23442-1-git-send-email-vapier@gentoo.org> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-03/txt/msg00503.txt.bz2 Including stdbool.h before hw-properties.h results in a build error due to the hw_add_boolean_property function having an argument named "bool" in its prototype. The source file has already be renamed to not use this ("boolean" instead), so match the header to the source. Signed-off-by: Mike Frysinger --- 2010-03-14 Mike Frysinger * hw-properties.h (hw_add_boolean_property): Rename "bool" to "boolean". sim/common/hw-properties.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sim/common/hw-properties.h b/sim/common/hw-properties.h index 61dbf77..7891cac 100644 --- a/sim/common/hw-properties.h +++ b/sim/common/hw-properties.h @@ -120,7 +120,7 @@ const struct hw_property *hw_find_array_property void hw_add_boolean_property (struct hw *me, const char *property, - int bool); + int boolean); int hw_find_boolean_property (struct hw *me, -- 1.7.0