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

@ -4,8 +4,8 @@
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef __MISC_DEBUG_GDB_SERVER__H_
#define __MISC_DEBUG_GDB_SERVER__H_
#ifndef ZEPHYR_INCLUDE_DEBUG_GDB_SERVER_H_
#define ZEPHYR_INCLUDE_DEBUG_GDB_SERVER_H_
#ifdef __cplusplus
extern "C" {
@ -65,4 +65,4 @@ extern void gdb_handler(enum gdb_exc_mode mode, void *esf, int signal);
#ifdef __cplusplus
}
#endif
#endif /* __MISC_DEBUG_GDB_SERVER__H_*/
#endif /* ZEPHYR_INCLUDE_DEBUG_GDB_SERVER_H_*/

View file

@ -9,8 +9,8 @@
* @brief APIs used when examining the objects in a debug tracing list.
*/
#ifndef _OBJECT_TRACING_H_
#define _OBJECT_TRACING_H_
#ifndef ZEPHYR_INCLUDE_DEBUG_OBJECT_TRACING_H_
#define ZEPHYR_INCLUDE_DEBUG_OBJECT_TRACING_H_
#ifdef CONFIG_OBJECT_TRACING
@ -85,4 +85,4 @@ extern struct k_queue *_trace_list_k_queue;
#endif /*CONFIG_THREAD_MONITOR*/
#endif /*_OBJECT_TRACING_H_*/
#endif /*ZEPHYR_INCLUDE_DEBUG_OBJECT_TRACING_H_*/

View file

@ -9,8 +9,8 @@
* @brief APIs used to add or remove an object in a debug tracing list.
*/
#ifndef _OBJECT_TRACING_COMMON_H_
#define _OBJECT_TRACING_COMMON_H_
#ifndef ZEPHYR_INCLUDE_DEBUG_OBJECT_TRACING_COMMON_H_
#define ZEPHYR_INCLUDE_DEBUG_OBJECT_TRACING_COMMON_H_
#ifndef CONFIG_OBJECT_TRACING
@ -98,4 +98,4 @@
while (0)
#endif /*CONFIG_OBJECT_TRACING*/
#endif /*_OBJECT_TRACING_COMMON_H_*/
#endif /*ZEPHYR_INCLUDE_DEBUG_OBJECT_TRACING_COMMON_H_*/