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

@ -6,15 +6,19 @@
#pragma once
/* *INDENT-OFF* */
#ifdef __cplusplus
extern "C" {
extern "C" {
#endif
/* *INDENT-ON* */
/**
* @brief Set up the SysTick interrupt
*/
void vPortSetupTimer(void);
/* *INDENT-OFF* */
#ifdef __cplusplus
}
}
#endif
/* *INDENT-ON* */

View file

@ -42,9 +42,11 @@
#ifndef XTENSA_CONFIG_H
#define XTENSA_CONFIG_H
#ifdef __cplusplus
extern "C" {
#endif
/* *INDENT-OFF* */
#ifdef __cplusplus
extern "C" {
#endif
/* *INDENT-ON* */
#include <xtensa/hal.h>
#include <xtensa/config/core.h>
@ -146,9 +148,10 @@
#define XT_STACK_EXTRA ( XT_XTRA_SIZE )
#define XT_STACK_EXTRA_CLIB ( XT_XTRA_SIZE + XT_CLIB_CONTEXT_AREA_SIZE )
#ifdef __cplusplus
}
#endif
/* *INDENT-OFF* */
#ifdef __cplusplus
}
#endif
/* *INDENT-ON* */
#endif /* XTENSA_CONFIG_H */