aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-07-30 01:48:28 +0000
committerKevin Buettner <kevinb@redhat.com>2000-07-30 01:48:28 +0000
commitfba45db2faf619e71856ee38ec63949c0ef6903e (patch)
tree107efc21d2b12f54d84b59e75251449e3d5fd096 /gdb/tui
parent29e6d33b03a5e39540d17bc8235573b1dac13341 (diff)
downloadgdb-fba45db2faf619e71856ee38ec63949c0ef6903e.zip
gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.gz
gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.bz2
Protoization.
Diffstat (limited to 'gdb/tui')
-rw-r--r--gdb/tui/tui-file.c24
-rw-r--r--gdb/tui/tui.c2
-rw-r--r--gdb/tui/tuiLayout.c2
-rw-r--r--gdb/tui/tuiRegs.c2
-rw-r--r--gdb/tui/tuiStack.c2
-rw-r--r--gdb/tui/tuiWin.c2
6 files changed, 13 insertions, 21 deletions
diff --git a/gdb/tui/tui-file.c b/gdb/tui/tui-file.c
index 1702db3..34591de 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 67c3114..9f83119 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 8191199..f394205 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 1efadd0..b0f55ef 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 c0f51ef..a8f4ca8 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 669576e..fab6d3f 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)
{