diff options
Diffstat (limited to 'gdb/tui')
-rw-r--r-- | gdb/tui/tui-file.c | 24 | ||||
-rw-r--r-- | gdb/tui/tui.c | 2 | ||||
-rw-r--r-- | gdb/tui/tuiLayout.c | 2 | ||||
-rw-r--r-- | gdb/tui/tuiRegs.c | 2 | ||||
-rw-r--r-- | gdb/tui/tuiStack.c | 2 | ||||
-rw-r--r-- | gdb/tui/tuiWin.c | 2 |
6 files changed, 13 insertions, 21 deletions
diff --git a/gdb/tui/tui-file.c b/gdb/tui/tui-file.c index 1702db39d46..34591dece84 100644 --- a/gdb/tui/tui-file.c +++ b/gdb/tui/tui-file.c @@ -66,7 +66,7 @@ static struct ui_file *tui_file_new (void); static int tui_file_magic; static struct ui_file * -tui_file_new () +tui_file_new (void) { struct tui_stream *tui = xmalloc (sizeof (struct tui_stream)); struct ui_file *file = ui_file_new (); @@ -81,8 +81,7 @@ tui_file_new () } static void -tui_file_delete (file) - struct ui_file *file; +tui_file_delete (struct ui_file *file) { struct tui_stream *tmpstream = ui_file_data (file); if (tmpstream->ts_magic != &tui_file_magic) @@ -96,8 +95,7 @@ tui_file_delete (file) } struct ui_file * -tui_fileopen (stream) - FILE *stream; +tui_fileopen (FILE *stream) { struct ui_file *file = tui_file_new (); struct tui_stream *tmpstream = ui_file_data (file); @@ -109,8 +107,7 @@ tui_fileopen (stream) } struct ui_file * -tui_sfileopen (n) - int n; +tui_sfileopen (int n) { struct ui_file *file = tui_file_new (); struct tui_stream *tmpstream = ui_file_data (file); @@ -130,8 +127,7 @@ tui_sfileopen (n) } static int -tui_file_isatty (file) - struct ui_file *file; +tui_file_isatty (struct ui_file *file) { struct tui_stream *stream = ui_file_data (file); if (stream->ts_magic != &tui_file_magic) @@ -143,8 +139,7 @@ tui_file_isatty (file) } static void -tui_file_rewind (file) - struct ui_file *file; +tui_file_rewind (struct ui_file *file) { struct tui_stream *stream = ui_file_data (file); if (stream->ts_magic != &tui_file_magic) @@ -174,9 +169,7 @@ tui_file_put (struct ui_file *file, /* FIXME: Should be broken up and moved to a TUI specific file. */ void -tui_file_fputs (linebuffer, file) - const char *linebuffer; - struct ui_file *file; +tui_file_fputs (const char *linebuffer, struct ui_file *file) { struct tui_stream *stream = ui_file_data (file); #if defined(TUI) @@ -281,8 +274,7 @@ tui_file_adjust_strbuf (int n, struct ui_file *file) } static void -tui_file_flush (file) - struct ui_file *file; +tui_file_flush (struct ui_file *file) { struct tui_stream *stream = ui_file_data (file); if (stream->ts_magic != &tui_file_magic) diff --git a/gdb/tui/tui.c b/gdb/tui/tui.c index 67c31147e53..9f831193c6b 100644 --- a/gdb/tui/tui.c +++ b/gdb/tui/tui.c @@ -441,7 +441,7 @@ tui_vSelectSourceSymtab (args) ** Function to initialize gdb commands, for tui window manipulation. */ void -_initialize_tui () +_initialize_tui (void) { #if 0 if (tui_version) diff --git a/gdb/tui/tuiLayout.c b/gdb/tui/tuiLayout.c index 8191199dbba..f394205b7cd 100644 --- a/gdb/tui/tuiLayout.c +++ b/gdb/tui/tuiLayout.c @@ -465,7 +465,7 @@ tuiDefaultWinViewportHeight (type, layout) ** manipulation. */ void -_initialize_tuiLayout () +_initialize_tuiLayout (void) { if (tui_version) { diff --git a/gdb/tui/tuiRegs.c b/gdb/tui/tuiRegs.c index 1efadd065c9..b0f55ef9a46 100644 --- a/gdb/tui/tuiRegs.c +++ b/gdb/tui/tuiRegs.c @@ -586,7 +586,7 @@ tuiToggleFloatRegs () void -_initialize_tuiRegs () +_initialize_tuiRegs (void) { if (tui_version && xdb_commands) { diff --git a/gdb/tui/tuiStack.c b/gdb/tui/tuiStack.c index c0f51eff75e..a8f4ca87726 100644 --- a/gdb/tui/tuiStack.c +++ b/gdb/tui/tuiStack.c @@ -475,7 +475,7 @@ tui_vShowFrameInfo (args) ** Function to initialize gdb commands, for tui window stack manipulation. */ void -_initialize_tuiStack () +_initialize_tuiStack (void) { if (tui_version) { diff --git a/gdb/tui/tuiWin.c b/gdb/tui/tuiWin.c index 669576e0e6a..fab6d3f475a 100644 --- a/gdb/tui/tuiWin.c +++ b/gdb/tui/tuiWin.c @@ -62,7 +62,7 @@ static void _parseScrollingArgs (char *, TuiWinInfoPtr *, int *); ** Function to initialize gdb commands, for tui window manipulation. */ void -_initialize_tuiWin () +_initialize_tuiWin (void) { if (tui_version) { |