Updated for C_ prototypes
This commit is contained in:
parent
854597cd2d
commit
9dae71ae08
40 changed files with 43 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
#include <system.h>
|
#include <system.h>
|
||||||
#include "back.h"
|
#include "back.h"
|
||||||
|
|
||||||
|
void
|
||||||
not_implemented( instr)
|
not_implemented( instr)
|
||||||
char *instr;
|
char *instr;
|
||||||
{
|
{
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
extern int B_busy;
|
extern int B_busy;
|
||||||
|
|
||||||
|
void
|
||||||
C_close()
|
C_close()
|
||||||
{
|
{
|
||||||
assert( B_busy);
|
assert( B_busy);
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
#include <em.h>
|
#include <em.h>
|
||||||
#include "back.h"
|
#include "back.h"
|
||||||
|
|
||||||
|
void
|
||||||
C_df_dlb( l)
|
C_df_dlb( l)
|
||||||
label l;
|
label l;
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
#include <em.h>
|
#include <em.h>
|
||||||
#include "back.h"
|
#include "back.h"
|
||||||
|
|
||||||
|
void
|
||||||
C_df_dnam( s)
|
C_df_dnam( s)
|
||||||
char *s;
|
char *s;
|
||||||
{
|
{
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
extern int B_procno;
|
extern int B_procno;
|
||||||
|
|
||||||
|
void
|
||||||
C_df_ilb( l)
|
C_df_ilb( l)
|
||||||
label l;
|
label l;
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
extern int B_locals_created;
|
extern int B_locals_created;
|
||||||
extern int B_procno;
|
extern int B_procno;
|
||||||
|
|
||||||
|
void
|
||||||
C_end( l)
|
C_end( l)
|
||||||
arith l;
|
arith l;
|
||||||
{
|
{
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
extern int B_locals_created;
|
extern int B_locals_created;
|
||||||
|
|
||||||
|
void
|
||||||
C_end_narg()
|
C_end_narg()
|
||||||
{
|
{
|
||||||
assert( B_locals_created);
|
assert( B_locals_created);
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
#include <em.h>
|
#include <em.h>
|
||||||
#include "back.h"
|
#include "back.h"
|
||||||
|
|
||||||
|
void
|
||||||
C_exa_dlb( l)
|
C_exa_dlb( l)
|
||||||
label l;
|
label l;
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
#include <em.h>
|
#include <em.h>
|
||||||
#include "back.h"
|
#include "back.h"
|
||||||
|
|
||||||
|
void
|
||||||
C_exa_dnam( s)
|
C_exa_dnam( s)
|
||||||
char *s;
|
char *s;
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
#include <em.h>
|
#include <em.h>
|
||||||
#include "back.h"
|
#include "back.h"
|
||||||
|
|
||||||
|
void
|
||||||
C_exp( s)
|
C_exp( s)
|
||||||
char *s;
|
char *s;
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
#include <em.h>
|
#include <em.h>
|
||||||
#include "back.h"
|
#include "back.h"
|
||||||
|
|
||||||
|
void
|
||||||
C_ina_dlb( l)
|
C_ina_dlb( l)
|
||||||
label l;
|
label l;
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
#include <em.h>
|
#include <em.h>
|
||||||
#include "back.h"
|
#include "back.h"
|
||||||
|
|
||||||
|
void
|
||||||
C_ina_dnam( s)
|
C_ina_dnam( s)
|
||||||
char *s;
|
char *s;
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
#include <system.h>
|
#include <system.h>
|
||||||
#include "mach.h"
|
#include "mach.h"
|
||||||
|
|
||||||
|
void
|
||||||
C_init( wsize, psize)
|
C_init( wsize, psize)
|
||||||
arith wsize, psize;
|
arith wsize, psize;
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
#include <em.h>
|
#include <em.h>
|
||||||
#include "back.h"
|
#include "back.h"
|
||||||
|
|
||||||
|
void
|
||||||
C_inp( s)
|
C_inp( s)
|
||||||
char *s;
|
char *s;
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
#include <em.h>
|
#include <em.h>
|
||||||
#include "back.h"
|
#include "back.h"
|
||||||
|
|
||||||
|
void
|
||||||
C_insertpart( d)
|
C_insertpart( d)
|
||||||
int d;
|
int d;
|
||||||
|
|
||||||
|
@ -15,6 +16,7 @@ int d;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void
|
||||||
C_beginpart( d)
|
C_beginpart( d)
|
||||||
int d;
|
int d;
|
||||||
|
|
||||||
|
@ -28,6 +30,7 @@ int d;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void
|
||||||
C_endpart( d)
|
C_endpart( d)
|
||||||
int d;
|
int d;
|
||||||
|
|
||||||
|
@ -41,6 +44,7 @@ int d;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
int
|
||||||
C_getid()
|
C_getid()
|
||||||
{
|
{
|
||||||
static int id = 0;
|
static int id = 0;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#define CODE_EXPANDER
|
#define CODE_EXPANDER
|
||||||
#include <em.h>
|
#include <em.h>
|
||||||
|
|
||||||
|
void
|
||||||
C_magic()
|
C_magic()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
extern int B_locals_created;
|
extern int B_locals_created;
|
||||||
extern int B_procno;
|
extern int B_procno;
|
||||||
|
|
||||||
|
void
|
||||||
C_pro( s, l)
|
C_pro( s, l)
|
||||||
char *s;
|
char *s;
|
||||||
arith l;
|
arith l;
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
extern int B_locals_created;
|
extern int B_locals_created;
|
||||||
extern int B_procno;
|
extern int B_procno;
|
||||||
|
|
||||||
|
void
|
||||||
C_pro_narg( s)
|
C_pro_narg( s)
|
||||||
char*s;
|
char*s;
|
||||||
|
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#define relocEM_PSIZE reloc4
|
#define relocEM_PSIZE reloc4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
void
|
||||||
C_bss_cst( n, w, i)
|
C_bss_cst( n, w, i)
|
||||||
arith n, w;
|
arith n, w;
|
||||||
int i;
|
int i;
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#define relocEM_PSIZE reloc4
|
#define relocEM_PSIZE reloc4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
void
|
||||||
C_bss_dlb( n, l, offs, i)
|
C_bss_dlb( n, l, offs, i)
|
||||||
arith n, offs;
|
arith n, offs;
|
||||||
label l;
|
label l;
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#define relocEM_PSIZE reloc4
|
#define relocEM_PSIZE reloc4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
void
|
||||||
C_bss_dnam( n, s, offs, i)
|
C_bss_dnam( n, s, offs, i)
|
||||||
arith n, offs;
|
arith n, offs;
|
||||||
char *s;
|
char *s;
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
|
|
||||||
extern int B_procno;
|
extern int B_procno;
|
||||||
|
|
||||||
|
void
|
||||||
C_bss_ilb( n, l, i)
|
C_bss_ilb( n, l, i)
|
||||||
arith n;
|
arith n;
|
||||||
label l;
|
label l;
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#define relocEM_PSIZE reloc4
|
#define relocEM_PSIZE reloc4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
void
|
||||||
C_bss_pnam( n, s, i)
|
C_bss_pnam( n, s, i)
|
||||||
arith n;
|
arith n;
|
||||||
char *s;
|
char *s;
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
void
|
||||||
C_con_cst( c)
|
C_con_cst( c)
|
||||||
arith c;
|
arith c;
|
||||||
{
|
{
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#define relocEM_PSIZE reloc4
|
#define relocEM_PSIZE reloc4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
void
|
||||||
C_con_dlb( g, o)
|
C_con_dlb( g, o)
|
||||||
label g;
|
label g;
|
||||||
arith o;
|
arith o;
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#define relocEM_PSIZE reloc4
|
#define relocEM_PSIZE reloc4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
void
|
||||||
C_con_dnam( g, o)
|
C_con_dnam( g, o)
|
||||||
char *g;
|
char *g;
|
||||||
arith o;
|
arith o;
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
|
|
||||||
extern int B_procno;
|
extern int B_procno;
|
||||||
|
|
||||||
|
void
|
||||||
C_con_ilb( l)
|
C_con_ilb( l)
|
||||||
label l;
|
label l;
|
||||||
{
|
{
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#define relocEM_PSIZE reloc4
|
#define relocEM_PSIZE reloc4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
void
|
||||||
C_con_pnam( p)
|
C_con_pnam( p)
|
||||||
char *p;
|
char *p;
|
||||||
{
|
{
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#define relocEM_PSIZE reloc4
|
#define relocEM_PSIZE reloc4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
void
|
||||||
C_con_scon( s, n)
|
C_con_scon( s, n)
|
||||||
char *s;
|
char *s;
|
||||||
arith n;
|
arith n;
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
|
|
||||||
extern int B_holno;
|
extern int B_holno;
|
||||||
|
|
||||||
|
void
|
||||||
C_hol_cst( n, w, i)
|
C_hol_cst( n, w, i)
|
||||||
arith n, w;
|
arith n, w;
|
||||||
int i;
|
int i;
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
|
|
||||||
extern int B_holno;
|
extern int B_holno;
|
||||||
|
|
||||||
|
void
|
||||||
C_hol_dlb( n, l, offs, i)
|
C_hol_dlb( n, l, offs, i)
|
||||||
arith n, offs;
|
arith n, offs;
|
||||||
label l;
|
label l;
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
|
|
||||||
extern int B_holno;
|
extern int B_holno;
|
||||||
|
|
||||||
|
void
|
||||||
C_hol_dnam( n, s, offs, i)
|
C_hol_dnam( n, s, offs, i)
|
||||||
arith n, offs;
|
arith n, offs;
|
||||||
char *s;
|
char *s;
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
|
|
||||||
extern int B_holno, B_procno;
|
extern int B_holno, B_procno;
|
||||||
|
|
||||||
|
void
|
||||||
C_hol_ilb( n, l, i)
|
C_hol_ilb( n, l, i)
|
||||||
arith n;
|
arith n;
|
||||||
label l;
|
label l;
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
|
|
||||||
extern int B_holno;
|
extern int B_holno;
|
||||||
|
|
||||||
|
void
|
||||||
C_hol_pnam( n, s, i)
|
C_hol_pnam( n, s, i)
|
||||||
arith n;
|
arith n;
|
||||||
char *s;
|
char *s;
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#define relocEM_PSIZE reloc4
|
#define relocEM_PSIZE reloc4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
void
|
||||||
C_rom_cst( c)
|
C_rom_cst( c)
|
||||||
arith c;
|
arith c;
|
||||||
{
|
{
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#define relocEM_PSIZE reloc4
|
#define relocEM_PSIZE reloc4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
void
|
||||||
C_rom_dlb( g, o)
|
C_rom_dlb( g, o)
|
||||||
label g;
|
label g;
|
||||||
arith o;
|
arith o;
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#define relocEM_PSIZE reloc4
|
#define relocEM_PSIZE reloc4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
void
|
||||||
C_rom_dnam( g, o)
|
C_rom_dnam( g, o)
|
||||||
char *g;
|
char *g;
|
||||||
arith o;
|
arith o;
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
|
|
||||||
extern int B_procno;
|
extern int B_procno;
|
||||||
|
|
||||||
|
void
|
||||||
C_rom_ilb( l)
|
C_rom_ilb( l)
|
||||||
label l;
|
label l;
|
||||||
{
|
{
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#define relocEM_PSIZE reloc4
|
#define relocEM_PSIZE reloc4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
void
|
||||||
C_rom_pnam( p)
|
C_rom_pnam( p)
|
||||||
char *p;
|
char *p;
|
||||||
{
|
{
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#define relocEM_PSIZE reloc4
|
#define relocEM_PSIZE reloc4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
void
|
||||||
C_rom_scon( s, n)
|
C_rom_scon( s, n)
|
||||||
char *s;
|
char *s;
|
||||||
arith n;
|
arith n;
|
||||||
|
|
Loading…
Reference in a new issue