aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/cli')
-rw-r--r--gdb/cli/cli-cmds.h6
-rw-r--r--gdb/cli/cli-decode.h6
-rw-r--r--gdb/cli/cli-interp.h6
-rw-r--r--gdb/cli/cli-script.h6
-rw-r--r--gdb/cli/cli-setshow.h6
-rw-r--r--gdb/cli/cli-style.h6
-rw-r--r--gdb/cli/cli-utils.h7
7 files changed, 22 insertions, 21 deletions
diff --git a/gdb/cli/cli-cmds.h b/gdb/cli/cli-cmds.h
index cc29929..63b8c40 100644
--- a/gdb/cli/cli-cmds.h
+++ b/gdb/cli/cli-cmds.h
@@ -14,8 +14,8 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#if !defined (CLI_CMDS_H)
-#define CLI_CMDS_H 1
+#ifndef CLI_CLI_CMDS_H
+#define CLI_CLI_CMDS_H
#include "common/filestuff.h"
#include "common/gdb_optional.h"
@@ -142,4 +142,4 @@ extern gdb::optional<open_script>
extern int source_verbose;
extern int trace_commands;
-#endif /* !defined (CLI_CMDS_H) */
+#endif /* CLI_CLI_CMDS_H */
diff --git a/gdb/cli/cli-decode.h b/gdb/cli/cli-decode.h
index 39329f0..c53683d 100644
--- a/gdb/cli/cli-decode.h
+++ b/gdb/cli/cli-decode.h
@@ -15,8 +15,8 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#if !defined (CLI_DECODE_H)
-#define CLI_DECODE_H 1
+#ifndef CLI_CLI_DECODE_H
+#define CLI_CLI_DECODE_H
/* This file defines the private interfaces for any code implementing
command internals. */
@@ -270,4 +270,4 @@ extern int cli_user_command_p (struct cmd_list_element *);
extern int find_command_name_length (const char *);
-#endif /* !defined (CLI_DECODE_H) */
+#endif /* CLI_CLI_DECODE_H */
diff --git a/gdb/cli/cli-interp.h b/gdb/cli/cli-interp.h
index b87432d..77d73a2 100644
--- a/gdb/cli/cli-interp.h
+++ b/gdb/cli/cli-interp.h
@@ -15,8 +15,8 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#ifndef CLI_INTERP_H
-#define CLI_INTERP_H 1
+#ifndef CLI_CLI_INTERP_H
+#define CLI_CLI_INTERP_H
#include "interps.h"
@@ -60,4 +60,4 @@ extern void cli_interpreter_pre_command_loop (struct interp *self);
extern int should_print_stop_to_console (struct interp *interp,
struct thread_info *tp);
-#endif
+#endif /* CLI_CLI_INTERP_H */
diff --git a/gdb/cli/cli-script.h b/gdb/cli/cli-script.h
index 246c5ae..e76e794 100644
--- a/gdb/cli/cli-script.h
+++ b/gdb/cli/cli-script.h
@@ -14,8 +14,8 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#if !defined (CLI_SCRIPT_H)
-#define CLI_SCRIPT_H 1
+#ifndef CLI_CLI_SCRIPT_H
+#define CLI_CLI_SCRIPT_H
struct ui_file;
struct cmd_list_element;
@@ -168,4 +168,4 @@ extern void print_command_trace (const char *cmd, ...)
extern void reset_command_nest_depth (void);
-#endif /* !defined (CLI_SCRIPT_H) */
+#endif /* CLI_CLI_SCRIPT_H */
diff --git a/gdb/cli/cli-setshow.h b/gdb/cli/cli-setshow.h
index 078d47a..e4d13c3 100644
--- a/gdb/cli/cli-setshow.h
+++ b/gdb/cli/cli-setshow.h
@@ -14,8 +14,8 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#if !defined (CLI_SETSHOW_H)
-#define CLI_SETSHOW_H 1
+#ifndef CLI_CLI_SETSHOW_H
+#define CLI_CLI_SETSHOW_H
struct cmd_list_element;
@@ -31,4 +31,4 @@ extern void do_show_command (const char *arg, int from_tty,
extern void cmd_show_list (struct cmd_list_element *list, int from_tty,
const char *prefix);
-#endif /* !defined (CLI_SETSHOW_H) */
+#endif /* CLI_CLI_SETSHOW_H */
diff --git a/gdb/cli/cli-style.h b/gdb/cli/cli-style.h
index 07830f9..287bad7 100644
--- a/gdb/cli/cli-style.h
+++ b/gdb/cli/cli-style.h
@@ -17,8 +17,8 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#ifndef CLI_STYLE_H
-#define CLI_STYLE_H
+#ifndef CLI_CLI_STYLE_H
+#define CLI_CLI_STYLE_H
#include "ui-file.h"
@@ -96,4 +96,4 @@ extern cli_style_option address_style;
/* True if styling is enabled. */
extern int cli_styling;
-#endif /* CLI_STYLE_H */
+#endif /* CLI_CLI_STYLE_H */
diff --git a/gdb/cli/cli-utils.h b/gdb/cli/cli-utils.h
index 1ab879d..d0161db 100644
--- a/gdb/cli/cli-utils.h
+++ b/gdb/cli/cli-utils.h
@@ -17,8 +17,8 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#ifndef CLI_UTILS_H
-#define CLI_UTILS_H
+#ifndef CLI_CLI_UTILS_H
+#define CLI_CLI_UTILS_H
/* *PP is a string denoting a number. Get the number. Advance *PP
after the string and any trailing whitespace.
@@ -238,4 +238,5 @@ struct qcs_flags
extern bool parse_flags_qcs (const char *which_command, const char **str,
qcs_flags *flags);
-#endif /* CLI_UTILS_H */
+
+#endif /* CLI_CLI_UTILS_H */