From patchwork Thu Jun 21 06:25:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 139488 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1699681lji; Thu, 21 Jun 2018 00:02:15 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKp1c5iy6bT4v8z4KLuvo2mqFIaV6iUuh75rw+h4Z/zSyMlqj/GUKgTkq2rR2T0MnTHBOoo X-Received: by 2002:ac8:2ee9:: with SMTP id i38-v6mr21446817qta.159.1529564535075; Thu, 21 Jun 2018 00:02:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529564535; cv=none; d=google.com; s=arc-20160816; b=CoLvFepwH9zZCbB8JwYlWx6xfnVis/IHz6cm13shI6kcB+MiSOWtgBCIvq+YGuZYjJ h8QUCS78jfryIOxmv9oIi86Zswi0HL+xfpe8/OzDgDbsSimdjSKgW8NUWTBz924J4Bgk ItYef2KhyTP5WbEYbBZAON73bvKevoO/Vox/ESK7WgssVkL6EJPbS91aE0/jXCL2VQOh VDgYPlL0lucsa65moRbjM0eATYwv5sGau/hqOTcuGcPPDQvj2xCyAgv4/2QI/c+PLEr+ +Lfvr4gq6EmFWiAcqNxK6YHA34e5zaffEIi/ZBSA/tq1iEwUH91DajLZs7V5/LjHFj0h bNng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=SwUfkuDg/WkhAuVOLCyn02chfnZ6W2qakKGNko8Vugo=; b=JLa0VgfOVXHACb/ETSRmat7CcEa3glUb7dbkmYwAUba5QqaMT1VSB5YDSESZ6tkSdN sYPnwrxKVG9rhQ8y1+1O/zW0Kp2FQOHOb4Rqb8P8KAt6ecG64Nly+ZvuDup2LcDvXfeY WlVyTpO7IOg2tipdnTXRhSy7DUVLxlkcR95oSa+UBIH9x4K+1qinJiPyVskItfw4sUnz F76TjYfwlimO6Vsut5gSAeM460lxOCMAuhE9912UQX8HWduTYeRvKTzDvmo7FwIGdV6E 4hm0bwzHWtGHnWZz6lkNU00Eyl+2QEQSSrYu8ElmbvI2d5/TcShYk5kFlrDABunNQ8xC EPkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="D/85LjKq"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id m9-v6si3974502qkk.386.2018.06.21.00.02.14 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 21 Jun 2018 00:02:15 -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; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="D/85LjKq"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:53432 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVtbi-0003MH-HC for patch@linaro.org; Thu, 21 Jun 2018 03:02:14 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVt8R-0005go-8L for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:32:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVt8Q-0003lJ-DH for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:31:59 -0400 Received: from mail-wr0-x231.google.com ([2a00:1450:400c:c0c::231]:40759) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVt8Q-0003kL-6c for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:31:58 -0400 Received: by mail-wr0-x231.google.com with SMTP id g18-v6so1831711wro.7 for ; Wed, 20 Jun 2018 23:31:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=SwUfkuDg/WkhAuVOLCyn02chfnZ6W2qakKGNko8Vugo=; b=D/85LjKqxELj/gnNQmiCml8Z2Ei1bXLkKwotQAQedljLmZq8r+fkLc03AI0nIDEESb G2zW4F3vT6hYH6OIknfTat5lD97c6YvfM6kERIG0sZM05acz+kbyeq/hbp3607toZHUC RBGvvd/otXRlj1LUz+eW0G1K4E54rgiJUv5fc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=SwUfkuDg/WkhAuVOLCyn02chfnZ6W2qakKGNko8Vugo=; b=d+Wroqg8bXLlzNU2UZe3mRnn/tpOKQfOZ63AofyRcvDHbiYd8XHkAI4RiNMEgLv0JG qQQzF91ejdoUmaSztbB0Dtnv8r9G0PQEg56vo/9E/Qq/ppZ/eNyDQSeqb9rYBdt8Bp/S EQ1FVFPSxrFiGHTLN8msB7u+jMhqHumd87/apA1BUE9tn17zmxqu8G16Vlegod/op1Cg KOtVMnJneOtiA/Biv/CFsrsMqKKUNaArLHqn3YQGd4NtqbQ0H5DHAhhEwrvQMWp0WduQ 8JjlvhLdxr6b/qvassTmoWbc4hf8JP+VRya5sTDZSSqoU6yp4ESPspFxTIRzWDq6KvmM dpRQ== X-Gm-Message-State: APt69E0wHa/0HDK6wWFZyVi0Z+6kEguKSDE98VusvpuTOlJlDpKbIico DG/l+nWQaZmeskWA3nYmuyC/mg== X-Received: by 2002:adf:c646:: with SMTP id u6-v6mr1432835wrg.177.1529562717144; Wed, 20 Jun 2018 23:31:57 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id z14-v6sm3058583wma.11.2018.06.20.23.31.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Jun 2018 23:31:55 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id AE19C3E0B71; Thu, 21 Jun 2018 07:26:06 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Thu, 21 Jun 2018 07:25:25 +0100 Message-Id: <20180621062605.941-18-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180621062605.941-1-alex.bennee@linaro.org> References: <20180621062605.941-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::231 Subject: [Qemu-devel] [PULL v2 17/57] tests/tcg/i386: Build fix for hello-i386 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: agraf@suse.de, Eduardo Habkost , =?utf-8?q?Alex_B?= =?utf-8?b?ZW5uw6ll?= , richard.henderson@linaro.org, qemu-devel@nongnu.org, f4bug@amsat.org, cota@braap.org, Paolo Bonzini , famz@redhat.com, aurelien@aurel32.net, Richard Henderson Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Fam Zheng We have -Werror=missing-prototype, add a dummy prototype to avoid that warning. Signed-off-by: Fam Zheng Reviewed-by: Thomas Huth Reviewed-by: Richard Henderson Signed-off-by: Alex Bennée -- 2.17.1 diff --git a/tests/tcg/i386/hello-i386.c b/tests/tcg/i386/hello-i386.c index fa00380de2..cfeb24b2f5 100644 --- a/tests/tcg/i386/hello-i386.c +++ b/tests/tcg/i386/hello-i386.c @@ -20,6 +20,7 @@ static inline int write(int fd, const char * buf, int len) return status; } +void _start(void); void _start(void) { write(1, "Hello World\n", 12);