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:
parent
a7fffa9e00
commit
67ca176754
505 changed files with 1463 additions and 1458 deletions
|
@ -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_ */
|
||||
|
|
|
@ -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_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue