summaryrefslogtreecommitdiff
path: root/src/cm.c
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2002-11-14 14:13:36 +0000
committerDave Love <fx@gnu.org>2002-11-14 14:13:36 +0000
commit1e26d5ef0528fdad1aa485ed79051cb9f9cdb749 (patch)
tree79af11e7eb74dce6bedfabad272189cdaf96dd9e /src/cm.c
parent020ea113e2060cc9f0838a7975d13424ce665485 (diff)
downloademacs-1e26d5ef0528fdad1aa485ed79051cb9f9cdb749.tar.gz
(calccost, cmgoto): Declare all args (per C99).
Diffstat (limited to 'src/cm.c')
-rw-r--r--src/cm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cm.c b/src/cm.c
index 56a1160c593..4e8984493a7 100644
--- a/src/cm.c
+++ b/src/cm.c
@@ -188,6 +188,7 @@ cmcostinit ()
static int
calccost (srcy, srcx, dsty, dstx, doit)
+ int srcy, srcx, dsty, dstx, doit;
{
register int deltay,
deltax,
@@ -323,6 +324,7 @@ losecursor ()
void
cmgoto (row, col)
+ int row, col;
{
int homecost,
crcost,