This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 9024c036b8342b9e11bfa8edbac845f2ff854f7e Author: buxiasen <[email protected]> AuthorDate: Wed Dec 17 11:23:45 2025 +0800 percpu: fix typo extra ; should merge into one commit when pick. DECLARE_PER_CPU() for PERCPU_SECTION ended with a semicolon, which added an empty declaration at every use. Signed-off-by: buxiasen <[email protected]> --- include/nuttx/percpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/nuttx/percpu.h b/include/nuttx/percpu.h index b6afb216809..14b500818ab 100644 --- a/include/nuttx/percpu.h +++ b/include/nuttx/percpu.h @@ -82,7 +82,7 @@ #elif defined(CONFIG_PERCPU_SECTION) # define DEFINE_PER_CPU(t, v) locate_data(".data..percpu") t v # define DEFINE_PER_CPU_BSS(t, v) locate_data(".bss..percpu") t v -# define DECLARE_PER_CPU(t, v) extern t v; +# define DECLARE_PER_CPU(t, v) extern t v /* Compile time percpu .data & .bss size */
