headers: Fix headers guards
Any word started with underscore followed by and uppercase letter or a second underscore is a reserved word according with C99. With have *many* violations on Zephyr's code, this commit is tackling only the violations caused by headers guards. It also takes the opportunity to normalize them using the filename in uppercase and replacing dot with underscore. e.g file.h -> FILE_H Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
6a68a66726
commit
a7fffa9e00
13 changed files with 38 additions and 38 deletions
|
@ -4,8 +4,8 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#ifndef _ksched__h_
|
||||
#define _ksched__h_
|
||||
#ifndef ZEPHYR_KERNEL_INCLUDE_KSCHED_H_
|
||||
#define ZEPHYR_KERNEL_INCLUDE_KSCHED_H_
|
||||
|
||||
#include <kernel_structs.h>
|
||||
#include <tracing.h>
|
||||
|
@ -287,4 +287,4 @@ static inline struct k_thread *_unpend1_no_timeout(_wait_q_t *wait_q)
|
|||
return thread;
|
||||
}
|
||||
|
||||
#endif /* _ksched__h_ */
|
||||
#endif /* ZEPHYR_KERNEL_INCLUDE_KSCHED_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue