From e86ec977fb92b4260cb6ef3e673e1eb9d72d78c3 Mon Sep 17 00:00:00 2001 From: Flavio Ceolin Date: Tue, 3 Dec 2019 13:49:54 -0800 Subject: [PATCH] syscalls: Remove references to __syscall_inline There is no code to handle __syscall_inline so it is better removing it from doxygen and checkpatch. Signed-off-by: Flavio Ceolin --- doc/conf.py | 2 +- doc/zephyr.doxyfile.in | 3 +-- scripts/checkpatch.pl | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index c42399355f4..1f0a97a6ac0 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -516,7 +516,7 @@ breathe_default_project = "Zephyr" # Error when parsing function declaration and more. This is a list # of strings that the parser additionally should accept as # attributes. -cpp_id_attributes = ['__syscall', '__syscall_inline', '__deprecated', +cpp_id_attributes = ['__syscall', '__deprecated', '__may_alias', '__used', '__unused', '__weak', '__DEPRECATED_MACRO', 'FUNC_NORETURN'] diff --git a/doc/zephyr.doxyfile.in b/doc/zephyr.doxyfile.in index 147f94f629e..6ceebb6669b 100644 --- a/doc/zephyr.doxyfile.in +++ b/doc/zephyr.doxyfile.in @@ -1998,8 +1998,7 @@ PREDEFINED = "CONFIG_SYS_CLOCK_EXISTS=y" \ "__aligned(x)=" \ "__printf_like(x, y)=" \ "__attribute__(x)=" \ - "__syscall=" \ - "__syscall_inline=" + "__syscall=" # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this # tag can be used to specify a list of macro names that should be expanded. The diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 0e1e9159d31..05d3579c89d 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -384,8 +384,7 @@ our $Attribute = qr{ ____cacheline_aligned_in_smp| ____cacheline_internodealigned_in_smp| __weak| - __syscall| - __syscall_inline + __syscall }x; our $Modifier; our $Inline = qr{inline|__always_inline|noinline|__inline|__inline__};