From patchwork Wed Jan 5 13:49:58 2022 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: 530152 Delivered-To: patch@linaro.org Received: by 2002:ad5:544f:0:0:0:0:0 with SMTP id a15csp314482imp; Wed, 5 Jan 2022 06:13:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJxvALYhPlUAyDOgEcrbt8VU9K6cGi0YYlWICfU+85R8f/mxfJRxMRp1EJaaYv+CR2bxFDJb X-Received: by 2002:a25:4e03:: with SMTP id c3mr57949831ybb.104.1641392029182; Wed, 05 Jan 2022 06:13:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1641392029; cv=none; d=google.com; s=arc-20160816; b=nakPRSs2mpjdbc6TQCyUtzFvfU8QisbHfN4LoS4OwDO7mqwOYAwxjuauWDIafn3Rqm YndHOUssI2EE1iiZijHb41ypA4aUL/KtrBPg6TJ9TNx+n1ndumE6ULX269eHvX/ZixXN 9vGHzya1JScJu5ng25UIp502UAICeEXKhfj1SdZOojs0CI7hojC3en2+WrPQy+koPKDw GX59FjAuRlDmkQnhH5B4NKhhLRIBJHokPjBTtUmRSvCIW8MLzNvOy2mQQKI/22w5cB2d tBIZx0V1wvFMXSgCYURYFcl1v0Y1MI46zvTgxVlKG9FzcgsSmKN44X5y7T4poDi7qGAz 1L+Q== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=LPoVhQKsg3Eu+tUEr379OtBtiTbCaE3mXiKV/4jCcdw=; b=G+31lrMr09KOoFseY5TjHetl28YMbPWOknQN5/o9mZyT5qzTEtoXOcWvutwxlqFQGT mZbXJXDONSpcvogMiWbVLH75LlyqAKbzy5XsOGD+u9oHqjMI8NdLRQHvDZRC90QJX/EV J5hSu8Dzue1nGWWzhpjbp4WwxkT8I80pHt/rgaDfBsNxHkn/ztkmpHmG7h4uAIwTb1tL CTZrlIJRjqI+L9FwBsBBrPgaYmVv/C6hSXtbngQac9lq5IjaZGdPJf16jP9/noPsq2BQ WRRfgGcsB35/7s1mj5mG2yh6R8eZd9aMLZ6DUsFc8x3U6EkKyboZ8HUBdeFuOE4CskuA 5Wow== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=aSRmf0Pt; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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. [209.51.188.17]) by mx.google.com with ESMTPS id a23si14514505ybg.119.2022.01.05.06.13.49 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 05 Jan 2022 06:13:49 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=aSRmf0Pt; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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]:55248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n572y-0003oA-MW for patch@linaro.org; Wed, 05 Jan 2022 09:13:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51812) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n56q2-0004Zd-Ft for qemu-devel@nongnu.org; Wed, 05 Jan 2022 09:00:32 -0500 Received: from [2a00:1450:4864:20::433] (port=40950 helo=mail-wr1-x433.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n56pz-0006Ra-Iv for qemu-devel@nongnu.org; Wed, 05 Jan 2022 09:00:26 -0500 Received: by mail-wr1-x433.google.com with SMTP id l10so1855278wrh.7 for ; Wed, 05 Jan 2022 06:00:21 -0800 (PST) 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=LPoVhQKsg3Eu+tUEr379OtBtiTbCaE3mXiKV/4jCcdw=; b=aSRmf0PtpDuWNYRu8R8hnExkKgjoxY4PBI2raJwCaTck33FNjmNuqafjPzBA+3sNU/ flqD7NKFnYuJz1z0nnl+0B6sc6V5sfx90rfXVDg4Xvk7QcuArsTL06rOpFzsoPmCaN8Z i8OPZWi7hW+slZ1cpIKkNQnoOa3UnjkGMolvLQQZT30gqXdThAxJkyhDwCE2DSaKRDGg Jy91hrGQRhUzy/hwT7zzfQ/lrn0MsiDbkUsMfyjLOPe8PXGL0hIseYtM8rkXJCjvVmBx 0yfn0fHG+9l7wsKhpTpCbdLK78XA+7H9LpxXXqVR6drXB8f9Ec16M/qVG0pTE2Uh4sv1 eaPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LPoVhQKsg3Eu+tUEr379OtBtiTbCaE3mXiKV/4jCcdw=; b=zOF7KTILH/gTVRJig0jf/tv85SZvK2o/RjYPljUxKSBp6aWzqbI/iw7VKincRtbjFq DB2jg0dvK/HSnGVvXldQvuiZDXQeVhCGwr26Y5zUgxWqb60c7cBlcros+ztKuZxb+lAa JjI0cPioaLjglRfAbiddoFqjcTCId++wLgqU+8ekkQFPcn6e25QmEysFIKepsO8iWdMt ZN+R4R7fvO7uXsduLyDjP6scDPpZ3BUCuDMeWqXxoZezk0HghIsGDQRQjDim/Ovw+6dh pnImZw0pUuxL8/8ARIyXOJR0vfaaObHRTUOGajnuxGaW5saK803yN5ix1Kg9USqXZh85 kIzw== X-Gm-Message-State: AOAM532ujwrmb6oNBW2OyuCfypyEDuppOXm3Si54yu7XxlaDYnc1zz99 WOUL6etD0CEnjgvRGXgmtwXyng== X-Received: by 2002:adf:f20f:: with SMTP id p15mr47524097wro.536.1641391220776; Wed, 05 Jan 2022 06:00:20 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id z17sm2626763wmi.22.2022.01.05.06.00.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jan 2022 06:00:19 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 361581FFCE; Wed, 5 Jan 2022 13:50:11 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 23/34] docs/devel: update C standard to C11 Date: Wed, 5 Jan 2022 13:49:58 +0000 Message-Id: <20220105135009.1584676-24-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220105135009.1584676-1-alex.bennee@linaro.org> References: <20220105135009.1584676-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::433 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x433.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, berrange@redhat.com, =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Richard Henderson , f4bug@amsat.org, stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, =?utf-8?q?Alex_?= =?utf-8?q?Benn=C3=A9e?= , aurelien@aurel32.net Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Since 8a9d3d5640 (configure: Use -std=gnu11) we have allowed C11 code so lets reflect that in the style guide. Signed-off-by: Alex Bennée Reviewed-by: Daniel P. Berrangé Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20211215152055.1748462-1-alex.bennee@linaro.org> --- docs/devel/style.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/devel/style.rst b/docs/devel/style.rst index 9c5c0fffd9..4f770002a7 100644 --- a/docs/devel/style.rst +++ b/docs/devel/style.rst @@ -483,11 +483,11 @@ of arguments. C standard, implementation defined and undefined behaviors ========================================================== -C code in QEMU should be written to the C99 language specification. A copy -of the final version of the C99 standard with corrigenda TC1, TC2, and TC3 -included, formatted as a draft, can be downloaded from: +C code in QEMU should be written to the C11 language specification. A +copy of the final version of the C11 standard formatted as a draft, +can be downloaded from: - ``_ + ``_ The C language specification defines regions of undefined behavior and implementation defined behavior (to give compiler authors enough leeway to