aboutsummaryrefslogtreecommitdiffstats
path: root/src/cm.c
diff options
context:
space:
mode:
authorAndreas Schwab1998-04-14 12:25:56 +0000
committerAndreas Schwab1998-04-14 12:25:56 +0000
commitdfcf069d565c347abf3cb7cec80e6ed8432037ba (patch)
treecd9620f10084ffa69d7d6ae26284ffd69d4c07a5 /src/cm.c
parent0f94f94657ad7a6a68e64c612285a5e06152def2 (diff)
downloademacs-dfcf069d565c347abf3cb7cec80e6ed8432037ba.tar.gz
emacs-dfcf069d565c347abf3cb7cec80e6ed8432037ba.zip
Fix -Wimplicit warnings.
Diffstat (limited to 'src/cm.c')
-rw-r--r--src/cm.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/cm.c b/src/cm.c
index 7362822c95d..ef4dccd23de 100644
--- a/src/cm.c
+++ b/src/cm.c
@@ -35,6 +35,7 @@ extern char *BC, *UP;
35int cost; /* sums up costs */ 35int cost; /* sums up costs */
36 36
37/* ARGSUSED */ 37/* ARGSUSED */
38int
38evalcost (c) 39evalcost (c)
39 char c; 40 char c;
40{ 41{
@@ -42,6 +43,7 @@ evalcost (c)
42 return c; 43 return c;
43} 44}
44 45
46int
45cmputc (c) 47cmputc (c)
46 char c; 48 char c;
47{ 49{
@@ -135,6 +137,7 @@ cmcheckmagic ()
135 * out of <sgtty.h>.) 137 * out of <sgtty.h>.)
136 */ 138 */
137 139
140void
138cmcostinit () 141cmcostinit ()
139{ 142{
140 char *p; 143 char *p;
@@ -174,7 +177,7 @@ cmcostinit ()
174 * actually perform the motion. 177 * actually perform the motion.
175 */ 178 */
176 179
177static 180static int
178calccost (srcy, srcx, dsty, dstx, doit) 181calccost (srcy, srcx, dsty, dstx, doit)
179{ 182{
180 register int deltay, 183 register int deltay,
@@ -309,6 +312,7 @@ losecursor ()
309#define USELL 2 312#define USELL 2
310#define USECR 3 313#define USECR 3
311 314
315void
312cmgoto (row, col) 316cmgoto (row, col)
313{ 317{
314 int homecost, 318 int homecost,
@@ -411,6 +415,7 @@ cmgoto (row, col)
411 Used before copying into it the info on the actual terminal. 415 Used before copying into it the info on the actual terminal.
412 */ 416 */
413 417
418void
414Wcm_clear () 419Wcm_clear ()
415{ 420{
416 bzero (&Wcm, sizeof Wcm); 421 bzero (&Wcm, sizeof Wcm);
@@ -425,6 +430,7 @@ Wcm_clear ()
425 * Return -2 if size not specified. 430 * Return -2 if size not specified.
426 */ 431 */
427 432
433int
428Wcm_init () 434Wcm_init ()
429{ 435{
430#if 0 436#if 0