Added prototyping stuff
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include <em.h>
|
||||
#include <em_mes.h>
|
||||
|
||||
void
|
||||
C_ms_com(str)
|
||||
char *str;
|
||||
{
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include <em.h>
|
||||
#include <em_mes.h>
|
||||
|
||||
void
|
||||
C_ms_ego(hint, offs, siz, regno)
|
||||
int hint, regno;
|
||||
arith offs, siz;
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include <em.h>
|
||||
#include <em_mes.h>
|
||||
|
||||
void
|
||||
C_ms_emx(wsiz, psiz)
|
||||
arith wsiz, psiz;
|
||||
{
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include <em.h>
|
||||
#include <em_mes.h>
|
||||
|
||||
void
|
||||
C_ms_err()
|
||||
{
|
||||
C_mes_begin(ms_err);
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include <em.h>
|
||||
#include <em_mes.h>
|
||||
|
||||
void
|
||||
C_ms_flt()
|
||||
{
|
||||
C_mes_begin(ms_flt);
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include <em.h>
|
||||
#include <em_mes.h>
|
||||
|
||||
void
|
||||
C_ms_gto()
|
||||
{
|
||||
C_mes_begin(ms_gto);
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include <em.h>
|
||||
#include <em_mes.h>
|
||||
|
||||
void
|
||||
C_ms_opt()
|
||||
{
|
||||
C_mes_begin(ms_opt);
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include <em.h>
|
||||
#include <em_mes.h>
|
||||
|
||||
void
|
||||
C_ms_par(nparams)
|
||||
arith nparams;
|
||||
{
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include <em.h>
|
||||
#include <em_mes.h>
|
||||
|
||||
void
|
||||
C_ms_reg(offs, siz, class, prior)
|
||||
arith offs, siz;
|
||||
int class, prior;
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include <em.h>
|
||||
#include <em_mes.h>
|
||||
|
||||
void
|
||||
C_ms_src(nlines, filnam)
|
||||
int nlines;
|
||||
char *filnam;
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include <em.h>
|
||||
#include <em_mes.h>
|
||||
|
||||
void
|
||||
C_ms_stb_cst(s, e1, e2, e3)
|
||||
char *s;
|
||||
int e1, e2;
|
||||
@@ -19,6 +20,7 @@ C_ms_stb_cst(s, e1, e2, e3)
|
||||
C_mes_end();
|
||||
}
|
||||
|
||||
void
|
||||
C_ms_stb_dlb(s, e1, e2, l, off)
|
||||
char *s;
|
||||
int e1, e2;
|
||||
@@ -33,6 +35,7 @@ C_ms_stb_dlb(s, e1, e2, l, off)
|
||||
C_mes_end();
|
||||
}
|
||||
|
||||
void
|
||||
C_ms_stb_dnam(s, e1, e2, l, off)
|
||||
char *s;
|
||||
int e1, e2;
|
||||
@@ -47,6 +50,7 @@ C_ms_stb_dnam(s, e1, e2, l, off)
|
||||
C_mes_end();
|
||||
}
|
||||
|
||||
void
|
||||
C_ms_stb_ilb(s, e1, e2, l)
|
||||
char *s;
|
||||
int e1, e2;
|
||||
@@ -60,6 +64,7 @@ C_ms_stb_ilb(s, e1, e2, l)
|
||||
C_mes_end();
|
||||
}
|
||||
|
||||
void
|
||||
C_ms_stb_pnam(s, e1, e2, p)
|
||||
char *s;
|
||||
int e1, e2;
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include <em.h>
|
||||
#include <em_mes.h>
|
||||
|
||||
void
|
||||
C_ms_std(s, e1, l)
|
||||
char *s;
|
||||
int e1;
|
||||
|
||||
@@ -6,65 +6,67 @@ em_mes \- EM-message generating routines
|
||||
.nf
|
||||
.B #include <em.h>
|
||||
.PP
|
||||
.B C_ms_err()
|
||||
.B void C_ms_err()
|
||||
.PP
|
||||
.B C_ms_opt()
|
||||
.B void C_ms_opt()
|
||||
.PP
|
||||
.B C_ms_emx(wsiz, psiz)
|
||||
.B void C_ms_emx(wsiz, psiz)
|
||||
.B arith wsiz, psiz;
|
||||
.PP
|
||||
.B #include <em_reg.h>
|
||||
.B C_ms_reg(offs, siz, class, prior)
|
||||
.B void C_ms_reg(offs, siz, class, prior)
|
||||
.B arith offs, siz;
|
||||
.B int class, prior;
|
||||
.PP
|
||||
.B C_ms_src(nlines, filnam)
|
||||
.B void C_ms_src(nlines, filnam)
|
||||
.B int nlines;
|
||||
.B char *filnam;
|
||||
.PP
|
||||
.B C_ms_flt()
|
||||
.B void C_ms_flt()
|
||||
.PP
|
||||
.B C_ms_com(str)
|
||||
.B void C_ms_com(str)
|
||||
.B char *str;
|
||||
.PP
|
||||
.B C_ms_par(nparams)
|
||||
.B void C_ms_par(nparams)
|
||||
.B arith nparams;
|
||||
.PP
|
||||
.B #include <em_ego.h>
|
||||
.B C_ms_ego(hint, offs, siz, regno)
|
||||
.B void C_ms_ego(hint, offs, siz, regno)
|
||||
.B int hint, regno;
|
||||
.B arith offs, siz;
|
||||
.PP
|
||||
.B C_ms_gto()
|
||||
.B void C_ms_gto()
|
||||
.PP
|
||||
.B C_ms_stb_cst(s, e1, e2, e3)
|
||||
.B void C_ms_stb_cst(s, e1, e2, e3)
|
||||
.B char *s;
|
||||
.B int e1, e2;
|
||||
.B arith e3;
|
||||
.PP
|
||||
.B C_ms_stb_dlb(s, e1, e2, l, off)
|
||||
.B void C_ms_stb_dlb(s, e1, e2, l, off)
|
||||
.B char *s;
|
||||
.B int e1, e2;
|
||||
.B label l;
|
||||
.B arith off;
|
||||
.PP
|
||||
.B C_ms_stb_dnam(s, e1, e2, l, off)
|
||||
.B void C_ms_stb_dnam(s, e1, e2, l, off)
|
||||
.B char *s;
|
||||
.B int e1, e2;
|
||||
.B char *l;
|
||||
.B arith off;
|
||||
.PP
|
||||
.B C_ms_stb_ilb(s, e1, e2, l)
|
||||
.B void C_ms_stb_ilb(s, e1, e2, l)
|
||||
.B char *s;
|
||||
.B int e1, e2;
|
||||
.B label l;
|
||||
.PP
|
||||
.B C_ms_stb_pnam(s, e1, e2, p)
|
||||
.B void C_ms_stb_pnam(s, e1, e2, p)
|
||||
.B char *s;
|
||||
.B int e1, e2;
|
||||
.B char *p;
|
||||
.PP
|
||||
.B C_ms_lin(l)
|
||||
.B void C_ms_std(s, e1, l)
|
||||
.B char *s;
|
||||
.B int e1;
|
||||
.B int l;
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
@@ -157,7 +159,7 @@ can be invoked to indicate that a procedure uses a non-local goto.
|
||||
The
|
||||
.B C_ms_stb
|
||||
and
|
||||
.B C_ms_lin
|
||||
.B C_ms_std
|
||||
routines produce a message that a back-end can use for (debugger) symbol table
|
||||
entries.
|
||||
.SH FILES
|
||||
@@ -173,8 +175,7 @@ em_code(3)
|
||||
em_code(3), read_em(3)
|
||||
.SH DIAGNOSTICS
|
||||
None of the functions return a value.
|
||||
.SH BUGS
|
||||
The
|
||||
.SH REMARKS
|
||||
There is no
|
||||
.BR C_ms_ext ()
|
||||
routine has not yet been implemented, since this message uses
|
||||
a variable number of arguments.
|
||||
routine, since this message uses a variable number of arguments.
|
||||
|
||||
@@ -45,13 +45,13 @@ libem_mesCE.$(LIBSUF):
|
||||
rm -f *.$(SUF)
|
||||
|
||||
install: all
|
||||
-mkdir $(MOD_DIR)/lib
|
||||
cp libem_mes.$(LIBSUF) $(MOD_DIR)/lib/libem_mes.$(LIBSUF)
|
||||
cp libem_mesCE.$(LIBSUF) $(MOD_DIR)/lib/libem_mesCE.$(LIBSUF)
|
||||
cp libem_mesO.$(LIBSUF) $(MOD_DIR)/lib/libem_mesO.$(LIBSUF)
|
||||
$(RANLIB) $(MOD_DIR)/lib/libem_mes.$(LIBSUF)
|
||||
$(RANLIB) $(MOD_DIR)/lib/libem_mesCE.$(LIBSUF)
|
||||
$(RANLIB) $(MOD_DIR)/lib/libem_mesO.$(LIBSUF)
|
||||
cp $(SRC_DIR)/em_mes.3 $(MOD_DIR)/man/em_mes.3
|
||||
if [ $(DO_MACHINE_INDEP) = y ] ; \
|
||||
then mk_manpage $(SRC_DIR)/em_mes.3 $(TARGET_HOME) ; \
|
||||
fi
|
||||
@@ -60,7 +60,6 @@ cmp: all
|
||||
-cmp libem_mes.$(LIBSUF) $(MOD_DIR)/lib/libem_mes.$(LIBSUF)
|
||||
-cmp libem_mesCE.$(LIBSUF) $(MOD_DIR)/lib/libem_mesCE.$(LIBSUF)
|
||||
-cmp libem_mesO.$(LIBSUF) $(MOD_DIR)/lib/libem_mesO.$(LIBSUF)
|
||||
-cmp $(SRC_DIR)/em_mes.3 $(MOD_DIR)/man/em_mes.3
|
||||
|
||||
pr:
|
||||
@pr $(SRC_DIR)/proto.make $(SRC)
|
||||
|
||||
Reference in New Issue
Block a user