ack/util/ncgg/subr.h
Manoel Trapier 08d1784f95 Remove more warns on ncgg
!! Maybe a bug found in ncgg cgg.y with n_coerc call atline 612
2015-06-24 23:41:47 +01:00

31 lines
1.0 KiB
C

#ifndef UTIL_NCGG_SUBR_H
#define UTIL_NCGG_SUBR_H
#include "varinfo.h"
#include "instruct.h"
/* util/ncgg/subr.c */
void n_proc(char *name);
struct varinfo *make_erase(char *name);
void n_instr(char *name, char *asname, operand *oplist, struct varinfo *eraselist, struct varinfo *cost);
void n_set(char *name, int number);
void n_tok(char *name, struct varinfo *atts, int size, struct varinfo *cost, struct varinfo *format);
void checkprintformat(int n);
void n_prop(char *name, int size);
void prophall(int n);
int n_reg(char *name, char *printstring, int nmemb, int member1, int member2);
void make_const(void);
int cmustbeset(char *ident);
void n_const(char *ident, int val);
void n_sconst(char *ident, char *val);
void regline(varinfo *rl, varinfo *pl, int rv);
void setallreg(struct varinfo *vi);
void freevi(struct varinfo *vip);
int myatoi(char *s);
char *mystrcpy(char *s);
char *myalloc(int n);
int chkincl(int value, int lwb, int upb);
int subset(short *sp1, short *sp2, int setsize);
int vilength(struct varinfo *vip);
#endif /* UTIL_NCGG_SUBR_H */