diff src/cm.c @ 21514:fa9ff387d260

Fix -Wimplicit warnings.
author Andreas Schwab <schwab@suse.de>
date Tue, 14 Apr 1998 12:25:56 +0000
parents ee40177f6c68
children fa344b2d7041
line wrap: on
line diff
--- a/src/cm.c	Tue Apr 14 10:56:46 1998 +0000
+++ b/src/cm.c	Tue Apr 14 12:25:56 1998 +0000
@@ -35,6 +35,7 @@
 int cost;		/* sums up costs */
 
 /* ARGSUSED */
+int
 evalcost (c)
      char c;
 {
@@ -42,6 +43,7 @@
   return c;
 }
 
+int
 cmputc (c)
      char c;
 {
@@ -135,6 +137,7 @@
  * out of <sgtty.h>.)
  */
 
+void
 cmcostinit ()
 {
     char *p;
@@ -174,7 +177,7 @@
  * actually perform the motion.
  */
 
-static
+static int
 calccost (srcy, srcx, dsty, dstx, doit)
 {
     register int    deltay,
@@ -309,6 +312,7 @@
 #define	USELL	2
 #define	USECR	3
 
+void
 cmgoto (row, col)
 {
     int     homecost,
@@ -411,6 +415,7 @@
    Used before copying into it the info on the actual terminal.
  */
 
+void
 Wcm_clear ()
 {
   bzero (&Wcm, sizeof Wcm);
@@ -425,6 +430,7 @@
  * Return -2 if size not specified.
  */
 
+int
 Wcm_init ()
 {
 #if 0