From: bal Date: Fri, 30 Nov 1984 10:30:22 +0000 (+0000) Subject: routines getcall(), get_text() and getcc() move from get.c to this file X-Git-Tag: release-5-5~5914 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=302608566ab94b6351fe25247eb279849eb016fd;p=ack.git routines getcall(), get_text() and getcc() move from get.c to this file routines putactuals(), putcall(), and putcc() move from put.c to this file get.h, put.h, stdio.h, em_mnem.h and em_pseu.h included --- diff --git a/util/ego/il/il_aux.h b/util/ego/il/il_aux.h index 2b673b226..798ab551e 100644 --- a/util/ego/il/il_aux.h +++ b/util/ego/il/il_aux.h @@ -28,3 +28,26 @@ extern rem_graph(); /* (proc_p p) extern remcc(); /* (calcnt_p head) * Remove call-count info from core. */ +extern call_p getcall(); /* (FILE *cf) + * Read a call from the call-file + */ +extern line_p get_text(); /* (FILE *lf; proc_p *p_out) + * Read the EM text of one procedure. + * The procedure read is returned via + * p_out. + */ +extern calcnt_p getcc(); /* (FILE *ccf; proc_p p) + * Read the call-count information + * of procedure p. + */ +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. + */