summaryrefslogtreecommitdiff
path: root/src/cm.c
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2010-07-05 12:36:06 +0200
committerJuanma Barranquero <lekktu@gmail.com>2010-07-05 12:36:06 +0200
commitd3da34e0dab1404e80dba5413b3c449a6ea8fa0c (patch)
treec24d736f75b63d4abb1b8ddd49b088632ccd8aee /src/cm.c
parent00be444c737e95c7455aa1808d9da75d4affd51f (diff)
downloademacs-d3da34e0dab1404e80dba5413b3c449a6ea8fa0c.tar.gz
Convert most remaining function definitions to standard C.
* buffer.c, cm.c, eval.c, keyboard.c, process.c, term.c, vm-limit.c, * xdisp.c: Convert function definitions to standard C. * cm.c (cmputc): Arg C is now int, not char. * process.c (Fmake_network_process): Cast sockaddr_in* to sockaddr*.
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,