From a8b18ea10bddf8be4526fd101112f41b93df55cd Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Thu, 28 Jan 2021 17:55:52 +0100 Subject: include: samsung-ipc.h: move include inside the #ifdef/#endif guards This separates more what is part of the header and what is not so things are more clear to the people reading the code. In addition, having all includes statements inside the #ifdef #endif header guards avoids issues with the inclusion of headers that are missing such guards. This can happen with headers imported from vendor kernels. So while headers imported from vendor kernels are typically not included in the headers exported by libsamsung-ipc, it's still good to have a consistent code style between exported and non exported headers. Signed-off-by: Denis 'GNUtoo' Carikli --- include/samsung-ipc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/samsung-ipc.h b/include/samsung-ipc.h index a03c748..3983ea5 100644 --- a/include/samsung-ipc.h +++ b/include/samsung-ipc.h @@ -19,11 +19,11 @@ * along with libsamsung-ipc. If not, see . */ -#include - #ifndef __SAMSUNG_IPC_H__ #define __SAMSUNG_IPC_H__ +#include + /* * Values */ -- cgit v1.2.3