summaryrefslogtreecommitdiff
path: root/src/cm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cm.c')
-rw-r--r--src/cm.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/cm.c b/src/cm.c
index d083c8a1be9..c2a68ed7015 100644
--- a/src/cm.c
+++ b/src/cm.c
@@ -45,8 +45,7 @@ int cost; /* sums up costs */
/* ARGSUSED */
int
-evalcost (c)
- int c;
+evalcost (int c)
{
cost++;
return c;
@@ -56,8 +55,7 @@ evalcost (c)
struct tty_display_info *current_tty;
int
-cmputc (c)
- char c;
+cmputc (int c)
{
if (current_tty->termscript)
putc (c & 0177, current_tty->termscript);
@@ -326,9 +324,7 @@ losecursor ()
#define USECR 3
void
-cmgoto (tty, row, col)
- struct tty_display_info *tty;
- int row, col;
+cmgoto (struct tty_display_info *tty, int row, int col)
{
int homecost,
crcost,