Skip to content

Commit 050fa71

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

14 files changed

+42
-42
lines changed

include/zephyr/shell/shell_backend.h

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

7-
#ifndef SHELL_BACKEND_H__
8-
#define SHELL_BACKEND_H__
7+
#ifndef ZEPHYR_INCLUDE_SHELL_BACKEND_H_
8+
#define ZEPHYR_INCLUDE_SHELL_BACKEND_H_
99

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

61-
#endif /* SHELL_BACKEND_H__ */
61+
#endif /* ZEPHYR_INCLUDE_SHELL_BACKEND_H_ */

include/zephyr/shell/shell_dummy.h

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

9-
#ifndef SHELL_DUMMY_H__
10-
#define SHELL_DUMMY_H__
9+
#ifndef ZEPHYR_INCLUDE_SHELL_DUMMY_H_
10+
#define ZEPHYR_INCLUDE_SHELL_DUMMY_H_
1111

1212
#include <zephyr/shell/shell.h>
1313

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

71-
#endif /* SHELL_DUMMY_H__ */
71+
#endif /* ZEPHYR_INCLUDE_SHELL_DUMMY_H_ */

include/zephyr/shell/shell_fprintf.h

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

7-
#ifndef SHELL_FPRINTF_H__
8-
#define SHELL_FPRINTF_H__
7+
#ifndef ZEPHYR_INCLUDE_SHELL_FPRINTF_H_
8+
#define ZEPHYR_INCLUDE_SHELL_FPRINTF_H_
99

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

83-
#endif /* SHELL_FPRINTF_H__ */
83+
#endif /* ZEPHYR_INCLUDE_SHELL_FPRINTF_H_ */

include/zephyr/shell/shell_history.h

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

7-
#ifndef SHELL_HISTORY_H__
8-
#define SHELL_HISTORY_H__
7+
#ifndef ZEPHYR_INCLUDE_SHELL_HISTORY_H_
8+
#define ZEPHYR_INCLUDE_SHELL_HISTORY_H_
99

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

114-
#endif /* SHELL_HISTORY_H__ */
114+
#endif /* ZEPHYR_INCLUDE_SHELL_HISTORY_H_ */

include/zephyr/shell/shell_log_backend.h

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

7-
#ifndef SHELL_LOG_BACKEND_H__
8-
#define SHELL_LOG_BACKEND_H__
7+
#ifndef ZEPHYR_INCLUDE_SHELL_LOG_BACKEND_H_
8+
#define ZEPHYR_INCLUDE_SHELL_LOG_BACKEND_H_
99

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

127-
#endif /* SHELL_LOG_BACKEND_H__ */
127+
#endif /* ZEPHYR_INCLUDE_SHELL_LOG_BACKEND_H_ */

include/zephyr/shell/shell_mqtt.h

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

7-
#ifndef SHELL_MQTT_H__
8-
#define SHELL_MQTT_H__
7+
#ifndef ZEPHYR_INCLUDE_SHELL_MQTT_H_
8+
#define ZEPHYR_INCLUDE_SHELL_MQTT_H_
99

1010
#include <zephyr/kernel.h>
1111
#include <zephyr/shell/shell.h>
@@ -137,4 +137,4 @@ bool shell_mqtt_get_devid(char *id, int id_max_len);
137137
}
138138
#endif
139139

140-
#endif /* SHELL_MQTT_H__ */
140+
#endif /* ZEPHYR_INCLUDE_SHELL_MQTT_H_ */

include/zephyr/shell/shell_rpmsg.h

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

7-
#ifndef SHELL_RPMSG_H__
8-
#define SHELL_RPMSG_H__
7+
#ifndef ZEPHYR_INCLUDE_SHELL_RPMSG_H_
8+
#define ZEPHYR_INCLUDE_SHELL_RPMSG_H_
99

1010
#include <zephyr/kernel.h>
1111
#include <zephyr/shell/shell.h>
@@ -84,4 +84,4 @@ const struct shell *shell_backend_rpmsg_get_ptr(void);
8484
}
8585
#endif
8686

87-
#endif /* SHELL_RPMSG_H__ */
87+
#endif /* ZEPHYR_INCLUDE_SHELL_RPMSG_H_ */

include/zephyr/shell/shell_rtt.h

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

7-
#ifndef SHELL_RTT_H__
8-
#define SHELL_RTT_H__
7+
#ifndef ZEPHYR_INCLUDE_SHELL_RTT_H_
8+
#define ZEPHYR_INCLUDE_SHELL_RTT_H_
99

1010
#include <zephyr/shell/shell.h>
1111

@@ -41,4 +41,4 @@ const struct shell *shell_backend_rtt_get_ptr(void);
4141
}
4242
#endif
4343

44-
#endif /* SHELL_RTT_H__ */
44+
#endif /* ZEPHYR_INCLUDE_SHELL_RTT_H_ */

include/zephyr/shell/shell_string_conv.h

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

7-
#ifndef SHELL_STRING_CONV_H__
8-
#define SHELL_STRING_CONV_H__
7+
#ifndef ZEPHYR_INCLUDE_SHELL_STRING_CONV_H_
8+
#define ZEPHYR_INCLUDE_SHELL_STRING_CONV_H_
99

1010
#include <stdbool.h>
1111
#include <stdint.h>
@@ -86,4 +86,4 @@ bool shell_strtobool(const char *str, int base, int *err);
8686
}
8787
#endif
8888

89-
#endif /* SHELL_STRING_CONV_H__ */
89+
#endif /* ZEPHYR_INCLUDE_SHELL_STRING_CONV_H_ */

include/zephyr/shell/shell_telnet.h

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

7-
#ifndef SHELL_TELNET_H__
8-
#define SHELL_TELNET_H__
7+
#ifndef ZEPHYR_INCLUDE_SHELL_TELNET_H_
8+
#define ZEPHYR_INCLUDE_SHELL_TELNET_H_
99

1010
#include <zephyr/net/socket.h>
1111
#include <zephyr/shell/shell.h>
@@ -85,4 +85,4 @@ const struct shell *shell_backend_telnet_get_ptr(void);
8585
}
8686
#endif
8787

88-
#endif /* SHELL_TELNET_H__ */
88+
#endif /* ZEPHYR_INCLUDE_SHELL_TELNET_H_ */

0 commit comments

Comments
 (0)