Updated for C_ prototypes

This commit is contained in:
ceriel 1993-11-10 15:07:12 +00:00
parent 854597cd2d
commit 9dae71ae08
40 changed files with 43 additions and 0 deletions

View file

@ -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;
{ {

View file

@ -4,6 +4,7 @@
extern int B_busy; extern int B_busy;
void
C_close() C_close()
{ {
assert( B_busy); assert( B_busy);

View file

@ -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;

View file

@ -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;
{ {

View file

@ -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;
{ {

View file

@ -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;
{ {

View file

@ -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);

View file

@ -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;
{ {

View file

@ -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;
{ {

View file

@ -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;
{ {

View file

@ -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;
{ {

View file

@ -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;
{ {

View file

@ -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;
{ {

View file

@ -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;
{ {

View file

@ -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;

View file

@ -1,6 +1,7 @@
#define CODE_EXPANDER #define CODE_EXPANDER
#include <em.h> #include <em.h>
void
C_magic() C_magic()
{ {
} }

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -30,6 +30,7 @@
#endif #endif
void
C_con_cst( c) C_con_cst( c)
arith c; arith c;
{ {

View file

@ -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;

View file

@ -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;

View file

@ -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;
{ {

View file

@ -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;
{ {

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;
{ {

View file

@ -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;

View file

@ -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;

View file

@ -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;
{ {

View file

@ -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;
{ {

View file

@ -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;