changeset 8985:2825665b8352

(evalcost, cmputc): They now return their arguments.
author Richard M. Stallman <rms@gnu.org>
date Thu, 22 Sep 1994 04:11:04 +0000
parents 5aa06240226f
children 331db4842ffb
files src/cm.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/cm.c	Thu Sep 22 03:59:10 1994 +0000
+++ b/src/cm.c	Thu Sep 22 04:11:04 1994 +0000
@@ -38,15 +38,16 @@
      char c;
 {
   cost++;
+  return c;
 }
 
-void
 cmputc (c)
      char c;
 {
   if (termscript)
     fputc (c & 0177, termscript);
   putchar (c & 0177);
+  return c;
 }
 
 /* NEXT TWO ARE DONE WITH MACROS */