Commit 97f11a9d authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(evalcost, cmputc): They now return their arguments.

parent c6322c8c
...@@ -38,15 +38,16 @@ evalcost (c) ...@@ -38,15 +38,16 @@ evalcost (c)
char c; char c;
{ {
cost++; cost++;
return c;
} }
void
cmputc (c) cmputc (c)
char c; char c;
{ {
if (termscript) if (termscript)
fputc (c & 0177, termscript); fputc (c & 0177, termscript);
putchar (c & 0177); putchar (c & 0177);
return c;
} }
/* NEXT TWO ARE DONE WITH MACROS */ /* NEXT TWO ARE DONE WITH MACROS */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment