tree-wide: Unify formatting of __cplusplus ifdefs

This commit is contained in:
Paul Bartell 2023-04-20 12:46:00 -07:00 committed by Paul Bartell
parent 5f19e34f87
commit c1980cedb1
143 changed files with 958 additions and 395 deletions

View file

@ -30,9 +30,11 @@
#ifndef PORTMACRO_H
#define PORTMACRO_H
/* *INDENT-OFF* */
#ifdef __cplusplus
extern "C" {
extern "C" {
#endif
/* *INDENT-ON* */
/*-----------------------------------------------------------
* Port specific definitions.
@ -184,8 +186,10 @@ extern size_t xCriticalNesting;
#error configMTIME_BASE_ADDRESS and configMTIMECMP_BASE_ADDRESS must be defined in FreeRTOSConfig.h. Set them to zero if there is no MTIME (machine time) clock. See https://www.FreeRTOS.org/Using-FreeRTOS-on-RISC-V.html
#endif
/* *INDENT-OFF* */
#ifdef __cplusplus
}
}
#endif
/* *INDENT-ON* */
#endif /* PORTMACRO_H */