Re: [PATCH] moved comment above function declaration

2018-11-12 Thread Malte Münch
ah ok, sorry for that. I just compared it to all the other functions in the file and thought this breaks the pattern. But your explanation makes sense to me. I will take that into account in the future. Best Malte On 12.11.18 11:38, Sebastian Huber wrote: > The API function (which is actually a m

Re: [PATCH] moved comment above function declaration

2018-11-12 Thread Sebastian Huber
The API function (which is actually a macro) is _SMP_MCS_lock_Acquire(). The _SMP_MCS_lock_Do_acquire() is an implementation detail which needs no documentation. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax :

[PATCH] moved comment above function declaration

2018-11-12 Thread Malte Münch
--- cpukit/include/rtems/score/smplockmcs.h | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/cpukit/include/rtems/score/smplockmcs.h b/cpukit/include/rtems/score/smplockmcs.h index 5a1ad23dc9..ce7fd72261 100644 --- a/cpukit/include/rtems/score/smplockmc