From patchwork Fri Jan 22 14:58:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 10964 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 616B8BD808 for ; Fri, 22 Jan 2021 14:59:18 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id E095268287; Fri, 22 Jan 2021 15:59:17 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="mAi6YROz"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 64FE968287 for ; Fri, 22 Jan 2021 15:59:16 +0100 (CET) Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id D53504FD for ; Fri, 22 Jan 2021 15:59:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1611327556; bh=+fciy+HsXxBvzSOPra0HIGWDB9KWRwvqaLGPjLkGU8Y=; h=From:To:Subject:Date:From; b=mAi6YROznBdE34h2Fdcuz3B+DIcozUlT0XtjbLTnjA0n2+01jLe11soviqfhJ4x2j kY4dOndZuoOshTLBJQsRaTKgJdqGjgow5mqZ6cgJqEyaWHrL4/lNkR5Qf3vhMB8JbS LH0QxClYcnArECX7W3WK4LWMV1t/ngs43NNUnIcw= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Fri, 22 Jan 2021 16:58:52 +0200 Message-Id: <20210122145852.5568-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] libcamera: Rename wrong header guards for internal includes 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: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Some internals includes that used to be public still have the public header guard. Rename it. Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham Reviewed-by: Niklas Söderlund Reviewed-by: Paul Elder --- include/libcamera/internal/event_dispatcher.h | 6 +++--- include/libcamera/internal/event_notifier.h | 6 +++--- include/libcamera/internal/timer.h | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/include/libcamera/internal/event_dispatcher.h b/include/libcamera/internal/event_dispatcher.h index cb06bf208e12..e6a8ad65ce0a 100644 --- a/include/libcamera/internal/event_dispatcher.h +++ b/include/libcamera/internal/event_dispatcher.h @@ -4,8 +4,8 @@ * * event_dispatcher.h - Event dispatcher */ -#ifndef __LIBCAMERA_EVENT_DISPATCHER_H__ -#define __LIBCAMERA_EVENT_DISPATCHER_H__ +#ifndef __LIBCAMERA_INTERNAL_EVENT_DISPATCHER_H__ +#define __LIBCAMERA_INTERNAL_EVENT_DISPATCHER_H__ #include @@ -32,4 +32,4 @@ public: } /* namespace libcamera */ -#endif /* __LIBCAMERA_EVENT_DISPATCHER_H__ */ +#endif /* __LIBCAMERA_INTERNAL_EVENT_DISPATCHER_H__ */ diff --git a/include/libcamera/internal/event_notifier.h b/include/libcamera/internal/event_notifier.h index a37b02eee4b7..cc3495c024f0 100644 --- a/include/libcamera/internal/event_notifier.h +++ b/include/libcamera/internal/event_notifier.h @@ -4,8 +4,8 @@ * * event_notifier.h - File descriptor event notifier */ -#ifndef __LIBCAMERA_EVENT_NOTIFIER_H__ -#define __LIBCAMERA_EVENT_NOTIFIER_H__ +#ifndef __LIBCAMERA_INTERNAL_EVENT_NOTIFIER_H__ +#define __LIBCAMERA_INTERNAL_EVENT_NOTIFIER_H__ #include #include @@ -45,4 +45,4 @@ private: } /* namespace libcamera */ -#endif /* __LIBCAMERA_EVENT_NOTIFIER_H__ */ +#endif /* __LIBCAMERA_INTERNAL_EVENT_NOTIFIER_H__ */ diff --git a/include/libcamera/internal/timer.h b/include/libcamera/internal/timer.h index f55fe3c09660..013e93c0b4e6 100644 --- a/include/libcamera/internal/timer.h +++ b/include/libcamera/internal/timer.h @@ -4,8 +4,8 @@ * * timer.h - Generic timer */ -#ifndef __LIBCAMERA_TIMER_H__ -#define __LIBCAMERA_TIMER_H__ +#ifndef __LIBCAMERA_INTERNAL_TIMER_H__ +#define __LIBCAMERA_INTERNAL_TIMER_H__ #include #include @@ -46,4 +46,4 @@ private: } /* namespace libcamera */ -#endif /* __LIBCAMERA_TIMER_H__ */ +#endif /* __LIBCAMERA_INTERNAL_TIMER_H__ */