From: bal Date: Thu, 29 Nov 1984 10:11:37 +0000 (+0000) Subject: putcall an putcc removed, X-Git-Tag: release-5-5~5942 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=dd5ceb7b97974142b3007c906cc83851908a51ed;p=ack.git putcall an putcc removed, curoutp, outbyte,outshort and outoff exported. --- diff --git a/util/ego/share/put.h b/util/ego/share/put.h index 73c0a47cc..729058ae8 100644 --- a/util/ego/share/put.h +++ b/util/ego/share/put.h @@ -1,6 +1,15 @@ /* O U T P U T R O U T I N E S */ +extern FILE *curoutp; /* current output file */ + +#define outbyte(b) putc(b,curoutp) +extern outshort(); /* (short i) + * Write a short to curoutp + */ +extern outoff(); /* (offset off) + * Write an offset to curoutp + */ extern putdtable(); /* (dblock_p head, FILE *df) * Write the data block table to file df, @@ -29,14 +38,3 @@ extern short putlines(); /* (line_p l; FILE *lf) * headed by l. Return the number of * instructions written. */ -extern putcall(); /* (call_p call; FILE *cfile; short level) - * Write the call - * with the given id to the given file. - * The level is the nesting level, used by - * putcall when it calls itself recurively. - * It should be 0 on outer levels. - */ -extern long putcc(); /* (calcnt_p head; FILE *ccf) - * Write call-count information to - * file ccf. - */