Skip to content

Commit 3c1fb41

Browse files
rruuaanngmmahadevan108
authored andcommitted
style: Inconsistent macro names changed
Fix incorrect header file pre-macro names in 'include/zephyr/app_memory', 'include/zephyr/display' and 'include/zephyr/mgmt'. Signed-off-by: James Roy <[email protected]>
1 parent b46e176 commit 3c1fb41

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

include/zephyr/app_memory/mem_domain.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
* SPDX-License-Identifier: Apache-2.0
66
*/
77

8-
#ifndef INCLUDE_APP_MEMORY_MEM_DOMAIN_H
9-
#define INCLUDE_APP_MEMORY_MEM_DOMAIN_H
8+
#ifndef ZEPHYR_INCLUDE_APP_MEMORY_MEM_DOMAIN_H_
9+
#define ZEPHYR_INCLUDE_APP_MEMORY_MEM_DOMAIN_H_
1010

1111
#include <stdint.h>
1212
#include <stddef.h>
@@ -193,4 +193,4 @@ int k_mem_domain_add_thread(struct k_mem_domain *domain,
193193
#endif
194194

195195
/** @} */
196-
#endif /* INCLUDE_APP_MEMORY_MEM_DOMAIN_H */
196+
#endif /* ZEPHYR_INCLUDE_APP_MEMORY_MEM_DOMAIN_H_ */

include/zephyr/display/cfb.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
* @brief Public Monochrome Character Framebuffer API
1010
*/
1111

12-
#ifndef __CFB_H__
13-
#define __CFB_H__
12+
#ifndef ZEPHYR_INCLUDE_DISPLAY_CFB_H_
13+
#define ZEPHYR_INCLUDE_DISPLAY_CFB_H_
1414

1515
#include <zephyr/device.h>
1616
#include <zephyr/drivers/display.h>
@@ -256,4 +256,4 @@ void cfb_framebuffer_deinit(const struct device *dev);
256256
* @}
257257
*/
258258

259-
#endif /* __CFB_H__ */
259+
#endif /* ZEPHYR_INCLUDE_DISPLAY_CFB_H_ */

include/zephyr/mgmt/osdp.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
* @brief Open Supervised Device Protocol (OSDP) public API header file.
1010
*/
1111

12-
#ifndef _OSDP_H_
13-
#define _OSDP_H_
12+
#ifndef ZEPHYR_INCLUDE_MGMT_OSDP_H_
13+
#define ZEPHYR_INCLUDE_MGMT_OSDP_H_
1414

1515
#include <zephyr/kernel.h>
1616
#include <stdint.h>
@@ -480,4 +480,4 @@ uint32_t osdp_get_sc_status_mask(void);
480480
}
481481
#endif
482482

483-
#endif /* _OSDP_H_ */
483+
#endif /* ZEPHYR_INCLUDE_MGMT_OSDP_H_ */

0 commit comments

Comments
 (0)