From patchwork Wed May 6 20:29:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 3693 Return-Path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id B2652603F2 for ; Wed, 6 May 2020 22:29:32 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="YubshSYx"; dkim-atps=neutral Received: from pendragon.bb.dnainternet.fi (81-175-216-236.bb.dnainternet.fi [81.175.216.236]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 34789542 for ; Wed, 6 May 2020 22:29:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1588796972; bh=bQLkZR3nkYWzV3szoM0gMvZEsl5KMmw2ukn0ZOetOuE=; h=From:To:Subject:Date:From; b=YubshSYxLObNzsQFalTsgucZT6rCAyADH0gsuC2I2csueEZILKwkiz56aUrsXQ3HR CWRNBxQQodwy5DyA7JxT2Ivy7FYqA2+2MA51BQq8FyewAU67+mYA75Q4L/EPdFKSEB wQW3RqtcLHU2H4ZdUzUJl4mX7iOY/IcO1UO1IKpE= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Wed, 6 May 2020 23:29:21 +0300 Message-Id: <20200506202921.23731-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] Documentation: coding-style: Fix ordered lists X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 May 2020 20:29:32 -0000 The syntax used for ordered lists is incorrect. Fix it. Signed-off-by: Laurent Pinchart Reviewed-by: Niklas Söderlund Reviewed-by: Kieran Bingham --- Documentation/coding-style.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Documentation/coding-style.rst b/Documentation/coding-style.rst index 95ca04f6150f..dfbbf28df8e7 100644 --- a/Documentation/coding-style.rst +++ b/Documentation/coding-style.rst @@ -72,10 +72,10 @@ self-contained. The headers shall be grouped and ordered as follows. - # The header declaring the API being implemented (if any) - # The C and C++ system and standard library headers - # Other libraries' headers, with one group per library - # Other project's headers +1. The header declaring the API being implemented (if any) +2. The C and C++ system and standard library headers +3. Other libraries' headers, with one group per library +4. Other project's headers Groups of headers shall be separated by a single blank line. Headers within each group shall be sorted alphabetically. @@ -118,7 +118,7 @@ reference means using a reference passed by a caller without ownership transfer based on the assumption that the caller guarantees the validity of the reference for the duration of the operation that borrows it. -#. Single Owner Objects +1. Single Owner Objects * By default an object has a single owner at any time. * Storage of single owner objects varies depending on how the object @@ -155,7 +155,7 @@ reference for the duration of the operation that borrows it. otherwise specified, pointers passed to functions are considered as borrowed references valid for the duration of the function only. -#. Shared Objects +2. Shared Objects * Objects that may have multiple owners at a given time are called shared objects. They are reference-counted and live as long as any references to