diff options
author | Yonattan Louise <yonattan.a.louise.mendoza@intel.com> | 2015-05-14 16:30:48 -0500 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2016-02-05 20:13:59 -0500 |
commit | dbada63eee8516d35d11c1543788e742b70172e1 (patch) | |
tree | 6f6556441918eecadd2495e4e2944138422accf5 /samples/nanokernel/benchmark/sys_kernel/src/syskernel.h | |
parent | d133f9661d670ca5340dd032ba3630f44d995af9 (diff) |
Fix coding style issues.
Some checkpatch issues were solved by scripts leaving other problems
such as alignment and indentation issues. In order to comply with the
defined coding style the following fixes were made:
- Fixed the function declaration moving the parameters' comments above
the function in accordance to the doxygen format.
- Fixed functions' opening and closing brackets. These brackets should
not be indented.
- Fixed the 'if', 'for' and 'while' statements adding the brackets
around the sentence.
- Fixed comments' alignment.
- Fixed indentation.
The work was done manually and submitted as one commit. I didn't
separate these changes in different commits because they were fixed all
at once. Basically, all errors were fixed in every file at once.
Change-Id: Icc94a10bfd2cff82007ce60df23b2ccd4c30268d
Signed-off-by: Yonattan Louise <yonattan.a.louise.mendoza@intel.com>
Diffstat (limited to 'samples/nanokernel/benchmark/sys_kernel/src/syskernel.h')
-rw-r--r-- | samples/nanokernel/benchmark/sys_kernel/src/syskernel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/nanokernel/benchmark/sys_kernel/src/syskernel.h b/samples/nanokernel/benchmark/sys_kernel/src/syskernel.h index 77431f162..051e53860 100644 --- a/samples/nanokernel/benchmark/sys_kernel/src/syskernel.h +++ b/samples/nanokernel/benchmark/sys_kernel/src/syskernel.h @@ -74,12 +74,12 @@ int stack_test(void); void begin_test(void); static inline uint32_t BENCH_START(void) - { +{ uint32_t et; begin_test(); et = TIME_STAMP_DELTA_GET(0); return et; - } +} #endif /* SYSKERNEK_H */ |