From patchwork Tue Jul 4 19:08:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 18782 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 89391BE175 for ; Tue, 4 Jul 2023 19:08:56 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id CD629628C0; Tue, 4 Jul 2023 21:08:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1688497735; bh=62yZ8BlWHeQ9JJ8va9365fCz+Cwv3wz6m2ApjIdtn3E=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=Ypt6aSjSgdya0U9hz0Vw63b/3o653vnQXrFP+vI6XkNmOZakIOowVlE4+pCQpRsSe p79LEvVnffu7M7vOWcMRvdEkH41GZlrNfMIKd3fCCouUk6ZM0WHo0kd8Vg2fKQkWO3 RMukWBKq7jpR5idIVRCuqL19uB+YouB6PvfFVZGJJQPKqLRLy1j01gZZj5OsUAjv3D HOjrZ0rQAGCbVOy9Oom2dVHaryTCbpY6Y4WC//1fc3aSrg+RldgwpFh/kQ2VZzX2bn lovTkKCqzFR+46HDnR78kwqj6AWgViAvv59yz1YJUXXz305G72lJsY5uI1qXoP2OkF HrQtsty7jES2A== 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 7A6EA60384 for ; Tue, 4 Jul 2023 21:08:54 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="VUieO8BV"; dkim-atps=neutral Received: from Monstersaurus.local (aztw-30-b2-v4wan-166917-cust845.vm26.cable.virginm.net [82.37.23.78]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id F12DD8C1; Tue, 4 Jul 2023 21:08:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1688497690; bh=62yZ8BlWHeQ9JJ8va9365fCz+Cwv3wz6m2ApjIdtn3E=; h=From:To:Cc:Subject:Date:From; b=VUieO8BVckorg5fwf1KuVKuF8fdY63AHBUcWqKT6sgD/se8nS21m8x1TCnEc4TZ6b /LLb0IyuffcjCMa25whTn/chJqamu7HAGddwJmItln2bOZW4bpEEn1UzBBRelUKx5F NSgQgUo5DRFcQOjNm+wTX09Egt7rnhjJrz1w0iXo= To: libcamera devel Date: Tue, 4 Jul 2023 20:08:49 +0100 Message-Id: <20230704190849.3650613-1-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] libcamera: base: Move thread_annotations to private 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-Patchwork-Original-From: Kieran Bingham via libcamera-devel From: Kieran Bingham Reply-To: Kieran Bingham Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" The libcamera thread annotations are for internal use only and are not part of any public api. Mark the header accordingly by including the private.h header guard. Signed-off-by: Kieran Bingham Reviewed-by: Laurent Pinchart Reviewed-by: Umang Jain --- include/libcamera/base/thread_annotations.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/libcamera/base/thread_annotations.h b/include/libcamera/base/thread_annotations.h index e81929f674d7..25b3c7b6cf92 100644 --- a/include/libcamera/base/thread_annotations.h +++ b/include/libcamera/base/thread_annotations.h @@ -7,6 +7,8 @@ #pragma once +#include + /* * Enable thread safety attributes only with clang. * The attributes can be safely erased when compiling with other compilers.