From 1e26d5ef0528fdad1aa485ed79051cb9f9cdb749 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Thu, 14 Nov 2002 14:13:36 +0000 Subject: [PATCH] (calccost, cmgoto): Declare all args (per C99). --- src/cm.c | 2 ++ src/composite.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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, diff --git a/src/composite.c b/src/composite.c index 99ffc1fb908..56acce6d1ce 100644 --- a/src/composite.c +++ b/src/composite.c @@ -478,7 +478,7 @@ run_composition_function (from, to, prop) void update_compositions (from, to, check_mask) - int from, to; + int from, to, check_mask; { Lisp_Object prop; int start, end; -- 2.39.2