diff options
author | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2018-11-08 10:20:19 +0000 |
---|---|---|
committer | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2018-11-08 10:20:19 +0000 |
commit | c3cf06f1a3a9b9ee8ac7a0ae505f95c45f7dca84 (patch) | |
tree | a10cbb4dba8a33d5a444ed37486f013f19eab635 /bl32 | |
parent | f5ae1b0e098277a5b02a823a23f61577e53eadf2 (diff) |
Standardise header guards across codebase
All identifiers, regardless of use, that start with two underscores are
reserved. This means they can't be used in header guards.
The style that this project is now to use the full name of the file in
capital letters followed by 'H'. For example, for a file called
"uart_example.h", the header guard is UART_EXAMPLE_H.
The exceptions are files that are imported from other projects:
- CryptoCell driver
- dt-bindings folders
- zlib headers
Change-Id: I50561bf6c88b491ec440d0c8385c74650f3c106e
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'bl32')
-rw-r--r-- | bl32/sp_min/sp_min_private.h | 6 | ||||
-rw-r--r-- | bl32/tsp/tsp_private.h | 7 |
2 files changed, 6 insertions, 7 deletions
diff --git a/bl32/sp_min/sp_min_private.h b/bl32/sp_min/sp_min_private.h index 1836af98..6b5d7925 100644 --- a/bl32/sp_min/sp_min_private.h +++ b/bl32/sp_min/sp_min_private.h @@ -4,12 +4,12 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef __SP_MIN_H__ -#define __SP_MIN_H__ +#ifndef SP_MIN_PRIVATE_H +#define SP_MIN_PRIVATE_H void sp_min_warm_entrypoint(void); void sp_min_main(void); void sp_min_warm_boot(void); void sp_min_fiq(void); -#endif /* __SP_MIN_H__ */ +#endif /* SP_MIN_PRIVATE_H */ diff --git a/bl32/tsp/tsp_private.h b/bl32/tsp/tsp_private.h index dd65a5fb..b697fa49 100644 --- a/bl32/tsp/tsp_private.h +++ b/bl32/tsp/tsp_private.h @@ -4,8 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef __TSP_PRIVATE_H__ -#define __TSP_PRIVATE_H__ +#ifndef TSP_PRIVATE_H +#define TSP_PRIVATE_H /* Definitions to help the assembler access the SMC/ERET args structure */ #define TSP_ARGS_SIZE 0x40 @@ -149,5 +149,4 @@ tsp_args_t *tsp_system_off_main(uint64_t arg0, uint64_t tsp_main(void); #endif /* __ASSEMBLY__ */ -#endif /* __TSP_PRIVATE_H__ */ - +#endif /* TSP_PRIVATE_H */ |