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

@ -5,8 +5,8 @@
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef __FLASH_IMG_H__
#define __FLASH_IMG_H__
#ifndef ZEPHYR_INCLUDE_DFU_FLASH_IMG_H_
#define ZEPHYR_INCLUDE_DFU_FLASH_IMG_H_
#ifdef __cplusplus
extern "C" {
@ -60,4 +60,4 @@ int flash_img_buffered_write(struct flash_img_context *ctx, u8_t *data,
}
#endif
#endif /* __FLASH_IMG_H__ */
#endif /* ZEPHYR_INCLUDE_DFU_FLASH_IMG_H_ */

View file

@ -5,8 +5,8 @@
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef __MCUBOOT_H__
#define __MCUBOOT_H__
#ifndef ZEPHYR_INCLUDE_DFU_MCUBOOT_H_
#define ZEPHYR_INCLUDE_DFU_MCUBOOT_H_
#include <stdbool.h>
#include <stddef.h>
@ -167,4 +167,4 @@ int boot_request_upgrade(int permanent);
*/
int boot_erase_img_bank(u32_t bank_offset);
#endif /* __MCUBOOT_H__ */
#endif /* ZEPHYR_INCLUDE_DFU_MCUBOOT_H_ */