From patchwork Tue Jul 21 11:17:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 51300 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f72.google.com (mail-wg0-f72.google.com [74.125.82.72]) by patches.linaro.org (Postfix) with ESMTPS id 55CF020323 for ; Tue, 21 Jul 2015 11:18:04 +0000 (UTC) Received: by wgal16 with SMTP id l16sf19988343wga.2 for ; Tue, 21 Jul 2015 04:18:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:date :message-id:in-reply-to:references:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=Hr2rU1iii/0d0HRkVjN2/vFX7tzZZ6qOyJPL4IjCNwQ=; b=UkHyTSYgWHncnYtqY+gMUZNRJJF7hwc5QoVhCidSuoHxoO+bnBtlsYuk8hdypDSmmK gjrGssxzQg1pdUQZCCwH6ytoqUaGAH9rJPHvyMnhlECqO5r4FswRiCCjun6surhRQF/i yOexTAClo7EQkagXFXnGiNc2CmacJmRaXvsllPO2S49IfxM77bizIJoJUSaKh77wXMiQ LTxY31YiKVEORobii8UjA2/s7vCQgfIr/EA1DyRtNNhb3tk2S73o2OrSR0yRIUKx3VVi tmyb0ZE1hDQFBj8/3MXLNZsfIS2S3AUsVw1IXZWi4F/WyhoutXq9oooAKkeisnw6WfUf WhLQ== X-Gm-Message-State: ALoCoQmez0aMJg2T29o6UZJecwmkDXx+OdaKcBcwjdLYIuBFxSKVnIXUqlUo/nevZ86pxqP+KO3k X-Received: by 10.112.42.236 with SMTP id r12mr17214072lbl.2.1437477483655; Tue, 21 Jul 2015 04:18:03 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.4.199 with SMTP id m7ls877091lam.83.gmail; Tue, 21 Jul 2015 04:18:03 -0700 (PDT) X-Received: by 10.112.43.36 with SMTP id t4mr32622998lbl.100.1437477483262; Tue, 21 Jul 2015 04:18:03 -0700 (PDT) Received: from mail-la0-f48.google.com (mail-la0-f48.google.com. [209.85.215.48]) by mx.google.com with ESMTPS id tn10si8372438lbb.38.2015.07.21.04.18.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Jul 2015 04:18:03 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.48 as permitted sender) client-ip=209.85.215.48; Received: by lahh5 with SMTP id h5so115345555lah.2 for ; Tue, 21 Jul 2015 04:18:03 -0700 (PDT) X-Received: by 10.112.166.2 with SMTP id zc2mr32271906lbb.29.1437477483139; Tue, 21 Jul 2015 04:18:03 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.7.198 with SMTP id l6csp1371055lba; Tue, 21 Jul 2015 04:18:02 -0700 (PDT) X-Received: by 10.194.58.69 with SMTP id o5mr67085314wjq.22.1437477479650; Tue, 21 Jul 2015 04:17:59 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id he1si18532314wib.34.2015.07.21.04.17.59 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 21 Jul 2015 04:17:59 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:58749 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHVYc-0005ME-4J for patch@linaro.org; Tue, 21 Jul 2015 07:17:58 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35747) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHVXv-0004fC-H9 for qemu-devel@nongnu.org; Tue, 21 Jul 2015 07:17:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHVXu-0000r5-J5 for qemu-devel@nongnu.org; Tue, 21 Jul 2015 07:17:15 -0400 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:34674) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHVXu-0000kL-Bp for qemu-devel@nongnu.org; Tue, 21 Jul 2015 07:17:14 -0400 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1ZHVXn-0001Dh-HD for qemu-devel@nongnu.org; Tue, 21 Jul 2015 12:17:07 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Date: Tue, 21 Jul 2015 12:17:07 +0100 Message-Id: <1437477427-4656-3-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1437477427-4656-1-git-send-email-peter.maydell@linaro.org> References: <1437477427-4656-1-git-send-email-peter.maydell@linaro.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:8b0:1d0::1 Subject: [Qemu-devel] [PULL 2/2] disas/arm-a64: Add missing compiler attribute GCC_FMT_ATTR X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.maydell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.48 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: Stefan Weil Type fprintf_function which fits here was defined with this attribute. Signed-off-by: Stefan Weil Reviewed-by: Peter Maydell Message-id: 1437208027-14584-1-git-send-email-sw@weilnetz.de Signed-off-by: Peter Maydell --- disas/arm-a64.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/disas/arm-a64.cc b/disas/arm-a64.cc index b0803f9..b57256b 100644 --- a/disas/arm-a64.cc +++ b/disas/arm-a64.cc @@ -42,7 +42,7 @@ public: stream_ = stream; } - void SetPrintf(int (*printf_fn)(FILE *, const char *, ...)) { + void SetPrintf(fprintf_function printf_fn) { printf_ = printf_fn; } @@ -53,7 +53,7 @@ protected: } private: - int (*printf_)(FILE *, const char *, ...); + fprintf_function printf_; FILE *stream_; };