headers: Fix headers across the project

Any word started with underscore followed by and uppercase letter or a
second underscore is a reserved word according with C99.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
Flavio Ceolin 2018-09-14 10:43:44 -07:00 committed by Anas Nashif
commit 67ca176754
505 changed files with 1463 additions and 1458 deletions

View file

@ -16,8 +16,8 @@
* section
*/
#ifndef _LINKERDEFS_H
#define _LINKERDEFS_H
#ifndef ZEPHYR_INCLUDE_LINKER_LINKER_DEFS_H_
#define ZEPHYR_INCLUDE_LINKER_LINKER_DEFS_H_
#include <toolchain.h>
#include <linker/sections.h>
@ -272,4 +272,4 @@ extern char __sg_size[];
#endif /* ! _ASMLANGUAGE */
#endif /* _LINKERDEFS_H */
#endif /* ZEPHYR_INCLUDE_LINKER_LINKER_DEFS_H_ */

View file

@ -12,8 +12,8 @@
* use with the GCC linker.
*/
#ifndef __LINKER_TOOL_GCC_H
#define __LINKER_TOOL_GCC_H
#ifndef ZEPHYR_INCLUDE_LINKER_LINKER_TOOL_GCC_H_
#define ZEPHYR_INCLUDE_LINKER_LINKER_TOOL_GCC_H_
#if defined(CONFIG_ARM)
OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
@ -121,4 +121,4 @@
#define COMMON_SYMBOLS *(COMMON)
#endif /* !__LINKER_TOOL_GCC_H */
#endif /* ZEPHYR_INCLUDE_LINKER_LINKER_TOOL_GCC_H_ */

View file

@ -12,8 +12,8 @@
* definitions (based on the toolchain) for the linker script.
*/
#ifndef __LINKER_TOOL_H
#define __LINKER_TOOL_H
#ifndef ZEPHYR_INCLUDE_LINKER_LINKER_TOOL_H_
#define ZEPHYR_INCLUDE_LINKER_LINKER_TOOL_H_
#if defined(_LINKER)
#if defined(__GCC_LINKER_CMD__)
@ -23,4 +23,4 @@
#endif
#endif
#endif /* !__LINKER_TOOL_H */
#endif /* ZEPHYR_INCLUDE_LINKER_LINKER_TOOL_H_ */

View file

@ -6,8 +6,8 @@
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef _section_tags__h_
#define _section_tags__h_
#ifndef ZEPHYR_INCLUDE_LINKER_SECTION_TAGS_H_
#define ZEPHYR_INCLUDE_LINKER_SECTION_TAGS_H_
#include <toolchain.h>
@ -27,4 +27,4 @@
#endif /* !_ASMLANGUAGE */
#endif /* _section_tags__h_ */
#endif /* ZEPHYR_INCLUDE_LINKER_SECTION_TAGS_H_ */

View file

@ -12,8 +12,8 @@
* files.
*/
#ifndef _SECTIONS_H
#define _SECTIONS_H
#ifndef ZEPHYR_INCLUDE_LINKER_SECTIONS_H_
#define ZEPHYR_INCLUDE_LINKER_SECTIONS_H_
#define _TEXT_SECTION_NAME text
#define _RODATA_SECTION_NAME rodata
@ -61,4 +61,4 @@
#include <linker/section_tags.h>
#endif /* _SECTIONS_H */
#endif /* ZEPHYR_INCLUDE_LINKER_SECTIONS_H_ */