Commit 050fa718 authored by James Roy's avatar James Roy Committed by Mahesh Mahadevan
Browse files

style: Inconsistent macro names changed



Fix incorrect header file pre-macro names in
'include/zephyr/shell' and 'include/zephyr/task_wdt'.

Signed-off-by: default avatarJames Roy <rruuaanng@outlook.com>
parent 3c1fb411
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -4,8 +4,8 @@
 * SPDX-License-Identifier: Apache-2.0
 */

#ifndef SHELL_BACKEND_H__
#define SHELL_BACKEND_H__
#ifndef ZEPHYR_INCLUDE_SHELL_BACKEND_H_
#define ZEPHYR_INCLUDE_SHELL_BACKEND_H_

#include <zephyr/types.h>
#include <zephyr/shell/shell.h>
@@ -58,4 +58,4 @@ const struct shell *shell_backend_get_by_name(const char *backend_name);
}
#endif

#endif /* SHELL_BACKEND_H__ */
#endif /* ZEPHYR_INCLUDE_SHELL_BACKEND_H_ */
+3 −3
Original line number Diff line number Diff line
@@ -6,8 +6,8 @@
 * SPDX-License-Identifier: Apache-2.0
 */

#ifndef SHELL_DUMMY_H__
#define SHELL_DUMMY_H__
#ifndef ZEPHYR_INCLUDE_SHELL_DUMMY_H_
#define ZEPHYR_INCLUDE_SHELL_DUMMY_H_

#include <zephyr/shell/shell.h>

@@ -68,4 +68,4 @@ void shell_backend_dummy_clear_output(const struct shell *sh);
}
#endif

#endif /* SHELL_DUMMY_H__ */
#endif /* ZEPHYR_INCLUDE_SHELL_DUMMY_H_ */
+3 −3
Original line number Diff line number Diff line
@@ -4,8 +4,8 @@
 * SPDX-License-Identifier: Apache-2.0
 */

#ifndef SHELL_FPRINTF_H__
#define SHELL_FPRINTF_H__
#ifndef ZEPHYR_INCLUDE_SHELL_FPRINTF_H_
#define ZEPHYR_INCLUDE_SHELL_FPRINTF_H_

#include <zephyr/kernel.h>
#include <stdbool.h>
@@ -80,4 +80,4 @@ void z_shell_fprintf_buffer_flush(const struct shell_fprintf *sh_fprintf);
}
#endif

#endif /* SHELL_FPRINTF_H__ */
#endif /* ZEPHYR_INCLUDE_SHELL_FPRINTF_H_ */
+3 −3
Original line number Diff line number Diff line
@@ -4,8 +4,8 @@
 * SPDX-License-Identifier: Apache-2.0
 */

#ifndef SHELL_HISTORY_H__
#define SHELL_HISTORY_H__
#ifndef ZEPHYR_INCLUDE_SHELL_HISTORY_H_
#define ZEPHYR_INCLUDE_SHELL_HISTORY_H_

#include <zephyr/kernel.h>
#include <zephyr/sys/util.h>
@@ -111,4 +111,4 @@ static inline bool z_shell_history_active(struct shell_history *history)
}
#endif

#endif /* SHELL_HISTORY_H__ */
#endif /* ZEPHYR_INCLUDE_SHELL_HISTORY_H_ */
+3 −3
Original line number Diff line number Diff line
@@ -4,8 +4,8 @@
 * SPDX-License-Identifier: Apache-2.0
 */

#ifndef SHELL_LOG_BACKEND_H__
#define SHELL_LOG_BACKEND_H__
#ifndef ZEPHYR_INCLUDE_SHELL_LOG_BACKEND_H_
#define ZEPHYR_INCLUDE_SHELL_LOG_BACKEND_H_

#include <zephyr/kernel.h>
#include <zephyr/logging/log_backend.h>
@@ -124,4 +124,4 @@ bool z_shell_log_backend_process(const struct shell_log_backend *backend);
}
#endif

#endif /* SHELL_LOG_BACKEND_H__ */
#endif /* ZEPHYR_INCLUDE_SHELL_LOG_BACKEND_H_ */
Loading