diff src/cm.c @ 48318:5c1be14cbcac

(calccost, cmgoto): Declare all args (per C99).
author Dave Love <fx@gnu.org>
date Thu, 14 Nov 2002 14:13:36 +0000
parents a94852aef620
children 23a1cea22d13
line wrap: on
line diff
--- a/src/cm.c	Thu Nov 14 14:12:30 2002 +0000
+++ b/src/cm.c	Thu Nov 14 14:13:36 2002 +0000
@@ -188,6 +188,7 @@
 
 static int
 calccost (srcy, srcx, dsty, dstx, doit)
+     int srcy, srcx, dsty, dstx, doit;
 {
     register int    deltay,
                     deltax,
@@ -323,6 +324,7 @@
 
 void
 cmgoto (row, col)
+     int row, col;
 {
     int     homecost,
             crcost,