changeset 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 8ce6ddfd61d0
children e140ab04c876
files src/cm.c src/composite.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
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,
--- a/src/composite.c	Thu Nov 14 14:12:30 2002 +0000
+++ b/src/composite.c	Thu Nov 14 14:13:36 2002 +0000
@@ -478,7 +478,7 @@
 
 void
 update_compositions (from, to, check_mask)
-     int from, to;
+     int from, to, check_mask;
 {
   Lisp_Object prop;
   int start, end;