mirror of
https://git.rtems.org/rtems-docs/
synced 2025-07-27 07:18:50 +08:00
eng: Remove bogus coding rule
Declaring functions used only through function pointers as inline makes absolutely no sense at all.
This commit is contained in:
parent
dc6b917dc3
commit
8edb899da5
@ -219,8 +219,6 @@ Performance
|
|||||||
* Understand the constraints of `real-time programming <https://devel.rtems.org/wiki/TBR/Review/Real-Time_Resources>`_..
|
* Understand the constraints of `real-time programming <https://devel.rtems.org/wiki/TBR/Review/Real-Time_Resources>`_..
|
||||||
Limit execution times in interrupt contexts and critical sections,
|
Limit execution times in interrupt contexts and critical sections,
|
||||||
such as Interrupt and Timer Service Routines (TSRs).
|
such as Interrupt and Timer Service Routines (TSRs).
|
||||||
* Functions used only through function pointers should be declared
|
|
||||||
'static inline' (RTEMS_INLINE_ROUTINE)
|
|
||||||
* Prefer to ++preincrement instead of postincrement++.
|
* Prefer to ++preincrement instead of postincrement++.
|
||||||
* Avoid using floating point except where absolutely necessary.
|
* Avoid using floating point except where absolutely necessary.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user