From fbdefc0a4ac8df678d5858a38ae2c080f9b9f055 Mon Sep 17 00:00:00 2001 From: Razvan Deaconescu <razvan.deaconescu@upb.ro> Date: Thu, 31 Oct 2024 16:16:14 +0200 Subject: [PATCH] src: Update macro guard name Change macro guard name for `include/internal/types.h` from `__TYPES_H__` to `__INTERNAL_TYPES_H__`. This prevents it from clashing with the macro guard for `include/sys/types.h`. Unless this change is applied, the inclusion of `sys/types.h` will not lead to the inclusion of `internal/types.h`, since the macro guard `__TYPES_H__` is used in both. Signed-off-by: Razvan Deaconescu <razvan.deaconescu@upb.ro> --- src/include/internal/types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/internal/types.h b/src/include/internal/types.h index f9cd7d0..9c4fe01 100644 --- a/src/include/internal/types.h +++ b/src/include/internal/types.h @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: BSD-3-Clause */ -#ifndef __TYPES_H__ -#define __TYPES_H__ 1 +#ifndef __INTERNAL_TYPES_H__ +#define __INTERNAL_TYPES_H__ 1 typedef unsigned long size_t; typedef long ssize_t; -- GitLab