putcall an putcc removed,
authorbal <none@none>
Thu, 29 Nov 1984 10:11:37 +0000 (10:11 +0000)
committerbal <none@none>
Thu, 29 Nov 1984 10:11:37 +0000 (10:11 +0000)
curoutp, outbyte,outshort and outoff exported.

util/ego/share/put.h

index 73c0a47..729058a 100644 (file)
@@ -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.
-                                */