aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-06-18 00:23:24 +0000
committerKevin Buettner <kevinb@redhat.com>2000-06-18 00:23:24 +0000
commit692248f335cea2f2ccc96e1c7730f7c62c9090b0 (patch)
tree8a39e874f7229d3d9c06d9b2d4a3c7f93fec8770 /gdb/tui
parent79c6de76fddecc72856b7f62a8241218a4f68f4f (diff)
downloadgdb-692248f335cea2f2ccc96e1c7730f7c62c9090b0.zip
gdb-692248f335cea2f2ccc96e1c7730f7c62c9090b0.tar.gz
gdb-692248f335cea2f2ccc96e1c7730f7c62c9090b0.tar.bz2
PARAMS elimination.
Diffstat (limited to 'gdb/tui')
-rw-r--r--gdb/tui/ChangeLog4
-rw-r--r--gdb/tui/tuiIO.c14
2 files changed, 11 insertions, 7 deletions
diff --git a/gdb/tui/ChangeLog b/gdb/tui/ChangeLog
index d492a9d..5672970 100644
--- a/gdb/tui/ChangeLog
+++ b/gdb/tui/ChangeLog
@@ -1,3 +1,7 @@
+2000-06-17 Kevin Buettner <kevinb@redhat.com>
+
+ * tuiIO.c: Eliminate use of PARAMS from this file.
+
Thu May 25 14:46:20 2000 Andrew Cagney <cagney@b1.cygnus.com>
* tui-file.c: Include "tui.h", "tuiData.h", "tuiIO.h" and
diff --git a/gdb/tui/tuiIO.c b/gdb/tui/tuiIO.c
index c8427c0..0bb249b 100644
--- a/gdb/tui/tuiIO.c
+++ b/gdb/tui/tuiIO.c
@@ -602,7 +602,7 @@ tuiTermSetup (turn_off_echo)
{
/* Un-do the effect of the memory lock in terminal_inferior() */
- tputs (term_memory_unlock, 1, (int (*)PARAMS ((int))) putchar);
+ tputs (term_memory_unlock, 1, (int (*) (int)) putchar);
fflush (stdout);
}
@@ -618,7 +618,7 @@ tuiTermSetup (turn_off_echo)
/* Set scroll region to be 0..end */
buffer = (char *) tgoto (term_scroll_region, end, 0);
- tputs (buffer, 1, (int (*)PARAMS ((int))) putchar);
+ tputs (buffer, 1, (int (*) (int)) putchar);
} /* else we're out of luck */
@@ -708,8 +708,8 @@ tuiTermUnsetup (turn_on_echo, to_column)
* So first position the cursor, then call memory lock.
*/
buffer = tgoto (term_cursor_move, 0, start);
- tputs (buffer, 1, (int (*)PARAMS ((int))) putchar);
- tputs (term_memory_lock, 1, (int (*)PARAMS ((int))) putchar);
+ tputs (buffer, 1, (int (*) (int)) putchar);
+ tputs (term_memory_lock, 1, (int (*) (int)) putchar);
}
else if (term_scroll_region)
@@ -717,17 +717,17 @@ tuiTermUnsetup (turn_on_echo, to_column)
/* Set the scroll region to the command window */
buffer = tgoto (term_scroll_region, end, start);
- tputs (buffer, 1, (int (*)PARAMS ((int))) putchar);
+ tputs (buffer, 1, (int (*) (int)) putchar);
} /* else we can't do anything about target I/O */
/* Also turn off standout mode, in case it is on */
if (term_se != NULL)
- tputs (term_se, 1, (int (*)PARAMS ((int))) putchar);
+ tputs (term_se, 1, (int (*) (int)) putchar);
/* Now go to the appropriate spot on the end line */
buffer = tgoto (term_cursor_move, to_column, end);
- tputs (buffer, 1, (int (*)PARAMS ((int))) putchar);
+ tputs (buffer, 1, (int (*) (int)) putchar);
fflush (stdout);
tui_owns_terminal = 0;