aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tui')
-rw-r--r--gdb/tui/tui-hooks.c2
-rw-r--r--gdb/tui/tui-interp.c3
-rw-r--r--gdb/tui/tui-layout.c3
-rw-r--r--gdb/tui/tui-regs.c3
-rw-r--r--gdb/tui/tui-stack.c3
-rw-r--r--gdb/tui/tui-win.c3
-rw-r--r--gdb/tui/tui.c3
7 files changed, 0 insertions, 20 deletions
diff --git a/gdb/tui/tui-hooks.c b/gdb/tui/tui-hooks.c
index 315f5b2..acb6381 100644
--- a/gdb/tui/tui-hooks.c
+++ b/gdb/tui/tui-hooks.c
@@ -266,8 +266,6 @@ tui_remove_hooks (void)
tui_register_changed_observer = NULL;
}
-void _initialize_tui_hooks (void);
-
void
_initialize_tui_hooks (void)
{
diff --git a/gdb/tui/tui-interp.c b/gdb/tui/tui-interp.c
index 702c342..e5e7321 100644
--- a/gdb/tui/tui-interp.c
+++ b/gdb/tui/tui-interp.c
@@ -311,9 +311,6 @@ tui_interp_factory (const char *name)
return new tui_interp (name);
}
-/* Provide a prototype to silence -Wmissing-prototypes. */
-extern initialize_file_ftype _initialize_tui_interp;
-
void
_initialize_tui_interp (void)
{
diff --git a/gdb/tui/tui-layout.c b/gdb/tui/tui-layout.c
index 7ecfaec..eab1ab6 100644
--- a/gdb/tui/tui-layout.c
+++ b/gdb/tui/tui-layout.c
@@ -367,9 +367,6 @@ layout_completer (struct cmd_list_element *ignore,
/* Function to initialize gdb commands, for tui window layout
manipulation. */
-/* Provide a prototype to silence -Wmissing-prototypes. */
-extern initialize_file_ftype _initialize_tui_layout;
-
void
_initialize_tui_layout (void)
{
diff --git a/gdb/tui/tui-regs.c b/gdb/tui/tui-regs.c
index 217fff2..838172e 100644
--- a/gdb/tui/tui-regs.c
+++ b/gdb/tui/tui-regs.c
@@ -687,9 +687,6 @@ tui_reggroup_completer (struct cmd_list_element *ignore,
}
}
-/* Provide a prototype to silence -Wmissing-prototypes. */
-extern initialize_file_ftype _initialize_tui_regs;
-
void
_initialize_tui_regs (void)
{
diff --git a/gdb/tui/tui-stack.c b/gdb/tui/tui-stack.c
index c075bef..ce7c5ee 100644
--- a/gdb/tui/tui-stack.c
+++ b/gdb/tui/tui-stack.c
@@ -487,9 +487,6 @@ tui_show_frame_info (struct frame_info *fi)
/* Function to initialize gdb commands, for tui window stack
manipulation. */
-/* Provide a prototype to silence -Wmissing-prototypes. */
-extern initialize_file_ftype _initialize_tui_stack;
-
void
_initialize_tui_stack (void)
{
diff --git a/gdb/tui/tui-win.c b/gdb/tui/tui-win.c
index e0df667..cb8e475 100644
--- a/gdb/tui/tui-win.c
+++ b/gdb/tui/tui-win.c
@@ -436,9 +436,6 @@ winheight_completer (struct cmd_list_element *ignore,
/* Function to initialize gdb commands, for tui window
manipulation. */
-/* Provide a prototype to silence -Wmissing-prototypes. */
-extern initialize_file_ftype _initialize_tui_win;
-
void
_initialize_tui_win (void)
{
diff --git a/gdb/tui/tui.c b/gdb/tui/tui.c
index b77a885..77dc866 100644
--- a/gdb/tui/tui.c
+++ b/gdb/tui/tui.c
@@ -671,9 +671,6 @@ tui_get_command_dimension (unsigned int *width,
return 1;
}
-/* Provide a prototype to silence -Wmissing-prototypes. */
-extern initialize_file_ftype _initialize_tui;
-
void
_initialize_tui (void)
{